wpseek.com
A WordPress-centric search engine for devs and theme authors



admin_bar_menu › WordPress Action Hooks

Since3.1.0
Deprecatedn/a
do_action_ref_array( 'admin_bar_menu', array( &$wp_admin_bar )
Parameters:
  • (WP_Admin_Bar) $wp_admin_bar The WP_Admin_Bar instance, passed by reference.
    Required: Yes
Defined at:
Codex:

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.





Source

do_action_ref_array( 'admin_bar_menu', array( &$wp_admin_bar ) );