Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove Request member ship from nav Private Group


  • ivanwancora
    Participant

    @ivanwancora

    Hello

    We are making private groups without possibility of request membership. I remove the “request membership” button. But don’t can remove the “request-membership tab“ in the menu of the private group if you not are a member.
    I try this without success:

    function my_remove_em_nav() {
    global $bp;
    bp_core_remove_nav_item( 'request-membership' );
    
    }
    add_action( 'bp_init', 'my_remove_em_nav' );

    Someone knows how can we do this.

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