apply_filters( "bp_{$this->id}_admin_nav", array $wp_admin_nav )

Filters the admin navigation passed into setup_admin_bar.

Description

This is a dynamic hook that is based on the component string ID.

Parameters

$wp_admin_nav

(array) Array of navigation items to add.

Source

File: bp-core/classes/class-bp-component.php

Changelog

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