do_action( 'bp_setup_admin_bar' )

Fires inside the ‘bp_setup_admin_bar’ function, where plugins should add items to the WP admin bar.

Description

This hook will only fire if bp_use_wp_admin_bar() returns true.

Source

File: bp-core/bp-core-dependency.php

Changelog

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