wp_before_admin_bar_render action-hookWP 3.1.0

Fires before the admin bar is rendered.

Usage

add_action( 'wp_before_admin_bar_render', 'wp_kama_before_admin_bar_render_action' );

/**
 * Function for `wp_before_admin_bar_render` action-hook.
 * 
 * @return void
 */
function wp_kama_before_admin_bar_render_action(){

	// action...
}

Changelog

Since 3.1.0 Introduced.

Where the hook is called

wp_admin_bar_render()
wp_before_admin_bar_render
wp-includes/admin-bar.php 102
do_action( 'wp_before_admin_bar_render' );

Where the hook is used in WordPress

wp-includes/admin-bar.php 528
add_action( 'wp_before_admin_bar_render', 'wp_customize_support_script' );