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.


Top ↑

Source Source

File: bp-core/bp-core-buddybar.php


Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.