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 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar