_wp_admin_bar_init
- %1$s is private and should not be used in themes or plugins directly.
_wp_admin_bar_init ( No parameters )
Access:Returns:- (bool) Whether the admin bar was successfully initialized.
Defined at: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Instantiates 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.