Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disabling “About BuddyPress” in Dashboard


  • jowyds
    Participant

    @jowyds

    Understand that Version 1.9 update, there is an addition of “About BuddyPress” link in the Dashboard at Admin Bar. Is there anyway that I can disable it or change the link?

    Added “About BuddyPress” link to WP-logo menu in the WP admin bar (#5285)

Viewing 1 replies (of 1 total)

  • danbp
    Moderator

    @danbp

    Add this snippet to bp-custom.php and comment/remove what you don’t need

    function bpex_admin_bar_remove() {
    global $wp_admin_bar;
    
    	// Remove the whole WP logo menu
    //	$wp_admin_bar->remove_node( 'wp-logo' ); 
    
    	// remove only About BuddyPress 
    	$wp_admin_bar->remove_node( 'bp-about' ); 
    
    	// remove only About bbPress
    //	$wp_admin_bar->remove_node( 'bbp-about' );
    
    }
    add_action( 'wp_before_admin_bar_render', 'bpex_admin_bar_remove' );

    Related BP 2.6.1.1 admin menu reference: bp-core/classes/class-bp-admin.php:485

    Related WP function: https://codex.wordpress.org/Plugin_API/Action_Reference/wp_before_admin_bar_render

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar