apply_filters( 'bp_nouveau_get_nav_count', int $count , object $nav_item , string $value )
Filter to edit the count attribute for the nav item.
Description
Parameters
- $count
-
The count attribute for the nav item.
- $nav_item
-
The current nav item object.
- $value
-
The current nav in use (eg: 'directory', 'groups', 'personal', etc..).
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.