function plt_hide_php_everywhere_menus() { //Hide the "Settings → PHP Everywhere" menu. remove_submenu_page('options-general.php', 'php-everywhere-options'); } add_action('admin_menu', 'plt_hide_php_everywhere_menus', 11);
Where do I put this code?