Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to make section of profile private?

@henrywright

Moderator

Try changing:

// Bail if not the achievements page.
if ( bp_current_action() != 'achievements' )
    return;

to:

if ( bp_is_user() && bp_is_current_component( 'achievements' ) && bp_is_current_action( 'all' ) )
    return;
Skip to toolbar