function plt_hide_automatic_scheduled_content_menus() { //Hide the "Settings → Automatic Scheduled Content" menu. remove_submenu_page('options-general.php', 'tsu'); } add_action('admin_menu', 'plt_hide_automatic_scheduled_content_menus', 11);
Where do I put this code?