apply_filters( 'bp_nav_menu_css_class', array $value, object $item, array $args )

Filters the classes to be added to the nav menu markup.

Description

Parameters

$value

Array of classes to be added.

$item

Menu item data object.

$args

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.