Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Detecting if you are on a specific sub nav


Anonymous User 96400
Inactive

@anonymized-96400

You can use the $bp global, so for example this:
`if( $bp->current_component == BP_MEMBERS_SLUG && $bp->current_action == ‘subnav-slug’ && $bp->action_variables[0] == ‘subnav-variable’ )
{
// do something
}`

Skip to toolbar