-
Home
-
Google Maps Plugin by Intergeo
- Tips
How to Hide Intergeo - Google Maps Plugin Admin Menus
function plt_hide_intergeo_maps_menus() {
//Hide the "Media → Intergeo Maps" menu.
remove_submenu_page('upload.php', 'intergeo');
//Hide the "Settings → Intergeo Maps" menu.
remove_submenu_page('options-general.php', 'intergeo');
}
add_action('admin_menu', 'plt_hide_intergeo_maps_menus', 11);
Where do I put this code?
How to Hide the "WordPress Guides/Tutorials" Dashboard Widget
function plt_hide_intergeo_maps_dashboard_widgets() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Remove the "WordPress Guides/Tutorials" widget.
remove_meta_box('themeisle', 'dashboard', 'normal');
}
add_action('wp_dashboard_setup', 'plt_hide_intergeo_maps_dashboard_widgets', 20);