admin_bar_menu

SummerySummery

Load all necessary admin bar items.

Syntax

do_action_ref_array( 'admin_bar_menu', WP_Admin_Bar $wp_admin_bar )

DescriptionDescription

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

ParametersParameters

$wp_admin_bar

(WP_Admin_Bar) WP_Admin_Bar instance, passed by reference

SourceSource

File: wp-includes/admin-bar.php

ChangelogChangelog

Changelog
Version Description
3.1.0 Introduced.
Scroll to Top