apply_filters( 'bp_nav_menu_item_id', string $id, object $item, array $args )

Filters the value to be used for the nav menu ID attribute.

Description

Parameters

$id

(string) ID attribute to be added to the menu item.

$item

(object) Menu item data object.

$args

(array) Array of arguments for the item.

Source

File: bp-core/classes/class-bp-walker-nav-menu.php

Changelog

Changelog
Version Description
BuddyPress 1.7.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.