Admin bar phpdoc update. Props filosofo. fixes #15418
git-svn-id: https://develop.svn.wordpress.org/trunk@16599 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
563b9e04cc
commit
fcb29ae39f
@ -39,7 +39,7 @@ add_action( 'init', 'wp_admin_bar_init' );
|
||||
* This is called very late on the footer actions so that it will render after anything else being
|
||||
* added to the footer.
|
||||
*
|
||||
* It includes the action "wp_before_admin_bar_render" which should be used to hook in and
|
||||
* It includes the action "admin_bar_menu" which should be used to hook in and
|
||||
* add new menus to the admin bar. That way you can be sure that you are adding at most optimal point,
|
||||
* right before the admin bar is rendered. This also gives you access to the $post global, among others.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user