Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove @mentions in adminbar menu and tab without edit core

  • @guigoz

    Member

    Hi,

    I want remove the @mention item on the admin bar menu, and on the activity profil page (not the global activity page because we can do this editing child theme).

    Do I can do this editing bp-custom with something like this ?

    I’ve found this to remove random menu in admin bar :

    function modify_adminbar(){
    remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_random_menu’, 100 );
    }
    add_action(‘plugins_loaded’,’modify_adminbar’,99);

    Someone could tell me how to remove this function : bp_core_new_subnav_item ?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove @mentions in adminbar menu and tab without edit core’ is closed to new replies.
Skip to toolbar