apply_filters( 'bp_walker_nav_menu_start_el', string $item_output, object $item, int $depth, array $args )

Filters the final result for the menu item.

Description

Parameters

$item_output

(string) Constructed output for the menu item to append to output.

$item

(object) Menu item data object.

$depth

(int) Depth of menu item. Used for padding.

$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.