function plt_hide_white_label_cms_menus() { //Hide the "Settings → White Label CMS" menu. remove_submenu_page('options-general.php', 'wlcms-plugin.php'); } add_action('admin_menu', 'plt_hide_white_label_cms_menus', 10000000);
Where do I put this code?