-
Home
-
Code Manager
- Tips
function plt_hide_code_manager_menus() {
//Hide "Settings → Code Manager".
remove_submenu_page('options-general.php', 'code_manager_settings');
//Hide "Code Manager".
remove_menu_page('code_manager');
//Hide "Code Manager → LIST Mode".
remove_submenu_page('code_manager', 'code_manager');
//Hide "Code Manager → TAB Mode".
remove_submenu_page('code_manager', 'code_manager_tabmode');
//Hide "Code Manager → Upgrade".
remove_submenu_page('code_manager', 'code_manager-pricing');
}
add_action('admin_menu', 'plt_hide_code_manager_menus', 1000000000);
Where do I put this code?