apply_filters( 'bp_nouveau_get_classes', string $value , array $classes , object $nav_item )
Filter to edit/add classes.
Description
NB: you can also directly add classes into the template parts.
Parameters
- $value
-
The current nav in use (eg: 'directory', 'groups', 'personal', etc..).
- $classes
-
The list of classes.
- $nav_item
-
The current nav item object.
Source
Changelog
Version | Description |
---|---|
BuddyPress 3.0.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.