function plt_hide_news_ticker_benaceur_menus() { //Hide the "Settings → News-Ticker-Benaceur" menu. remove_submenu_page('options-general.php', 'news_ticker_benaceur'); } add_action('admin_menu', 'plt_hide_news_ticker_benaceur_menus', 11);
Where do I put this code?