do_action_ref_array( 'admin_bar_menu', WP_Admin_Bar $wp_admin_bar )

Load all necessary admin bar items.


Description

This is the hook used to add, remove, or manipulate admin bar items.


Parameters

$wp_admin_bar

(WP_Admin_Bar) WP_Admin_Bar instance, passed by reference


Source

File: wp-includes/admin-bar.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.1.0 Introduced.