bp_setup_admin_bar()

Fire the ‘bp_setup_admin_bar’ action, where plugins should add items to the WP admin bar.


Description Description


Source Source

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

function bp_setup_admin_bar() {
	if ( bp_use_wp_admin_bar() ) {

		/**
		 * Fires inside the 'bp_setup_admin_bar' function, where plugins should add items to the WP admin bar.
		 *
		 * This hook will only fire if bp_use_wp_admin_bar() returns true.
		 *
		 * @since 1.5.0
		 */
		do_action( 'bp_setup_admin_bar', array() );
	}
}

Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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