wp_before_admin_bar_render
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-includes/admin-bar.php 104
do_action( 'wp_before_admin_bar_render' );
Where the hook is used in WordPress
wp-includes/admin-bar.php 540
add_action( 'wp_before_admin_bar_render', 'wp_customize_support_script' );