A WordPress-centric search engine for devs and theme authors



admin_bar_menu ›

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

Load all necessary admin bar items.

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





Source

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