_wp_admin_bar_init


_wp_admin_bar_init ( No parameters )

Access:
  • private
Returns:
  • (bool) Whether the admin bar was successfully initialized.
Defined at:

Description

Instantiate the admin bar object and set it up as a global for access elsewhere.

UNHOOKING THIS FUNCTION WILL NOT PROPERLY REMOVE THE ADMIN BAR. For that, use show_admin_bar(false) or the {@see 'show_admin_bar'} filter.

Related Functions

wp_admin_bar_render, wp_admin_bar_edit_menu, wp_admin_bar_site_menu, wp_admin_bar_wp_menu, wp_admin_bar_header

Top Google Results

User discussions

wpseek mobile