apply_filters( 'bp_nav_item_has_subnav', bool $has_subnav , string $nav_item )
Filters whether or not a given nav item has subnav items.
Description Description
Parameters Parameters
- $has_subnav
-
Whether or not there is any subnav items.
- $nav_item
-
The slug of the top-level nav item whose subnav items you're checking.
Source Source
File: bp-core/bp-core-buddybar.php
Changelog Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |