Debora1976 (@debora1976)

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

  • Debora1976
    Participant

    @debora1976

    Solved it:
    function bpex_hide_profile_menu_tabs() {

    if( bp_is_active( ‘xprofile’ ) ) :

    if ( !bp_is_my_profile() ) {

    bp_core_remove_subnav_item( ‘forums’, ‘favorites’ );
    bp_core_remove_subnav_item( ‘forums’, ‘subscriptions’ );

    }
    endif;
    }
    add_action( ‘bp_setup_nav’, ‘bpex_hide_profile_menu_tabs’, 15 );


    Debora1976
    Participant

    @debora1976

    Or better: how can I hide favorite forums and favorite topics for other members, and make it visible only for myself?

Viewing 2 replies - 1 through 2 (of 2 total)