apply_filters( 'bp_rest_nouveau_nav_has_count', bool $value , array $nav_item )
Filter to edit whether the nav has a count attribute.
Description
Parameters
- $value
-
True if the nav has a count attribute. False otherwise
- $nav_item
-
The current nav item array.
Source
File: bp-members/classes/class-bp-rest-members-details-endpoint.php
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.