Inline documentation for hooks in wp-includes/class-wp-admin-bar.php
See #25229 props betzster Built from https://develop.svn.wordpress.org/trunk@25475 git-svn-id: http://core.svn.wordpress.org/trunk@25396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8f621ffc78
commit
b3689b7a35
|
@ -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