Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,988
- How-to & Troubleshooting
- 129,350
- Creating & Extending
- 25,784
- Requests & Feedback
- 9,480
- Third Party Plugins
- 9,784
- Showcase
- 3,317
- Ideas
- 1,400
- Miscellaneous
- 9,167
-
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
}`
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS