Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Detecting if you are on a specific sub nav


Boris
Participant

@travel-junkie

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