function plt_hide_custom_url_replacer_menus() { //Hide the "Tools → Custom URL Replacer" menu. remove_submenu_page('tools.php', 'currep-settings'); } add_action('admin_menu', 'plt_hide_custom_url_replacer_menus', 11);
Where do I put this code?