apply_filters( 'bp_nav_item_has_subnav', bool $has_subnav, string $nav_item )

Filters whether or not a given nav item has subnav items.


Parameters Parameters

$has_subnav

(bool) Whether or not there is any subnav items.

$nav_item

(string) The slug of the top-level nav item whose subnav items you're checking.


Source Source

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

View on Trac



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.