Skip to:
Content
Pages
Categories
Search
Top
Bottom

hiding site > mysite tab in admin dash board


  • keshabee
    Participant

    @keshabee

    Good Afternoon, I wanted to ask if there was any-one who has an ides how to hide site > my site which is created by buddypress on the admin dashboard area. as below
    https://postimg.org/image/dop3730kl/

    As i was able to find a way to hide the site from the user profile thanks to @vapvarun
    using the function

    function vap_remove_buddypress_sites_tabs() {
    	global $bp;
           // to remove main menu for sites.
           bp_core_remove_nav_item('blogs' );
    }
    add_action( 'bp_setup_nav', 'vap_remove_buddypress_sites_tabs', 999 );
    

    But the question is how do i hide it also in the admin dashboard.
    As preferable I would likely wish if i could hide it specifically from other users except admin and site owner.
    Thank you in advance

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