apply_filters( 'bp_nouveau_set_nav_scope', array $scope, object $nav_item, string $value )

Filter to add your own scope.

Description

Parameters

$scope

(array) Contains the key and the value for your scope.

$nav_item

(object) The current nav item object.

$value

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

Source

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

Changelog

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