Loads all necessary admin bar items.
This hook can add, remove, or manipulate admin bar items. The priority determines the placement for new items, and changes to existing items would require a high priority. To remove or manipulate existing nodes without a specific priority, use wp_before_admin_bar_render.
$wp_admin_barWP_Admin_Bar
do_action_ref_array( 'admin_bar_menu', array( &$wp_admin_bar ) );
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/admin_bar_menu