apply_filters( 'bp_nouveau_get_classes', string $value, array $classes, object $nav_item )

Filter to edit/add classes.


Description Description

NB: you can also directly add classes into the template parts.


Top ↑

Parameters Parameters

$value

(string) The current nav in use (eg: 'directory', 'groups', 'personal', etc..).

$classes

(array) The list of classes.

$nav_item

(object) The current nav item object.


Source Source

File: bp-templates/bp-nouveau/includes/template-tags.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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