WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: WP Geo] How to unset the WP Geo dashboard widget (4 posts)

  1. fizzyfozzy
    Member
    Posted 3 years ago #

    I have successfully managed to unclutter my dashboard by following this tutorial: http://codex.wordpress.org/Dashboard_Widgets_API#Advanced:_Removing_Dashboard_Widgets
    But the WP Geo panel is still showing.
    I tried this code to print the names of the panels onto the page:

    global $wp_meta_boxes;
    foreach (array_keys($wp_meta_boxes['dashboard']['normal']['core']) as $name){
    		echo ("<p>");
    		echo ($name);
    		echo("</p>");
    
    	}

    But nothing comes up for this panel? Anyone know what it's called so I can unset it? I've tried the obvious wpgeo_dashboard_widget, dashboard_wpgeo, dashboard_wp_geo ...

  2. fizzyfozzy
    Member
    Posted 3 years ago #

    any ideas?

  3. Ben Huson
    Member
    Posted 3 years ago #

    Think this is still using wp_register_sidebar_widget() so try:

    wp_unregister_sidebar_widget( 'wpgeo_dashboard' );

  4. fizzyfozzy
    Member
    Posted 3 years ago #

    Brilliant! That shifted it! Thank you very, very much!

Topic Closed

This topic has been closed to new replies.

About this Topic