function plt_hide_nafeza_prayer_time_menus() { //Hide the "Settings → Prayer Times" menu. remove_submenu_page('options-general.php', 'nafeza_prayer_time_admin_page'); } add_action('admin_menu', 'plt_hide_nafeza_prayer_time_menus', 11);
Where do I put this code?