Inline documentation for hooks in wp-includes/class-wp-admin-bar.php
See #25229 props betzster git-svn-id: https://develop.svn.wordpress.org/trunk@25475 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e71b7b15cf
commit
5331611baa
@ -58,6 +58,11 @@ class WP_Admin_Bar {
|
||||
wp_enqueue_script( 'admin-bar' );
|
||||
wp_enqueue_style( 'admin-bar' );
|
||||
|
||||
/**
|
||||
* Fires after WP_Admin_Bar is initialized
|
||||
*
|
||||
* @since 3.0.2
|
||||
*/
|
||||
do_action( 'admin_bar_init' );
|
||||
}
|
||||
|
||||
@ -487,6 +492,11 @@ class WP_Admin_Bar {
|
||||
|
||||
add_action( 'admin_bar_menu', 'wp_admin_bar_add_secondary_groups', 200 );
|
||||
|
||||
/**
|
||||
* Fires after menus are added to the menu bar
|
||||
*
|
||||
* @since 3.0.4
|
||||
*/
|
||||
do_action( 'add_admin_bar_menus' );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user