Ticket #15418: admin-bar-menu-docs.15418.diff
File admin-bar-menu-docs.15418.diff, 726 bytes (added by , 13 years ago) |
---|
-
wp-includes/admin-bar.php
39 39 * This is called very late on the footer actions so that it will render after anything else being 40 40 * added to the footer. 41 41 * 42 * It includes the action " wp_before_admin_bar_render" which should be used to hook in and42 * It includes the action "admin_bar_menu" which should be used to hook in and 43 43 * add new menus to the admin bar. That way you can be sure that you are adding at most optimal point, 44 44 * right before the admin bar is rendered. This also gives you access to the $post global, among others. 45 45 *