wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



admin_bar_menu › WordPress Action Hooks

Seit3.1.0
Veraltetn/v
do_action_ref_array( 'admin_bar_menu', array( &$wp_admin_bar )
Parameter:
  • (WP_Admin_Bar) $wp_admin_bar The WP_Admin_Bar instance, passed by reference.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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