apply_filters( 'bp_is_current_component', bool $is_current_component , string $component )
Filters whether the current page belongs to the specified component.
Description
Parameters
- $is_current_component
-
Whether or not the current page belongs to specified component.
- $component
-
Name of the component being checked.
Source
Changelog
Version | Description |
---|---|
BuddyPress 1.5.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.