Changeset 37542 for trunk/src/wp-includes/admin-bar.php
- Timestamp:
- 05/23/2016 06:58:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/admin-bar.php
r37518 r37542 12 12 * 13 13 * UNHOOKING THIS FUNCTION WILL NOT PROPERLY REMOVE THE ADMIN BAR. 14 * For that, use show_admin_bar(false) or the 'show_admin_bar'filter.14 * For that, use show_admin_bar(false) or the {@see 'show_admin_bar'} filter. 15 15 * 16 16 * @since 3.1.0 … … 52 52 53 53 /** 54 * Render the admin bar to the page based on the $wp_admin_bar->menu member var. 55 * This is called very late on the footer actions so that it will render after anything else being 56 * added to the footer. 57 * 58 * It includes the action "admin_bar_menu" which should be used to hook in and 59 * add new menus to the admin bar. That way you can be sure that you are adding at most optimal point, 60 * right before the admin bar is rendered. This also gives you access to the $post global, among others. 54 * Renders the admin bar to the page based on the $wp_admin_bar->menu member var. 55 * 56 * This is called very late on the footer actions so that it will render after 57 * anything else being added to the footer. 58 * 59 * It includes the {@see 'admin_bar_menu'} action which should be used to hook in and 60 * add new menus to the admin bar. That way you can be sure that you are adding at most 61 * optimal point, right before the admin bar is rendered. This also gives you access to 62 * the `$post` global, among others. 61 63 * 62 64 * @since 3.1.0 … … 873 875 874 876 /** 875 * Set the display status of the admin bar. 876 * 877 * This can be called immediately upon plugin load. It does not need to be called from a function hooked to the init action. 877 * Sets the display status of the admin bar. 878 * 879 * This can be called immediately upon plugin load. It does not need to be called 880 * from a function hooked to the {@see 'init'} action. 878 881 * 879 882 * @since 3.1.0
Note: See TracChangeset
for help on using the changeset viewer.