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