show_admin_bar


show_admin_bar ( $show )

Parameters:
  • (bool) show Whether to allow the admin bar to show.
Defined at:

Description

Sets the display status of the admin bar.This can be called immediately upon plugin load. It does not need to be called from a function hooked to the {@see 'init'} action.

Related Functions

_wp_admin_bar_init, wp_admin_headers, wp_admin_bar_render, wp_admin_bar_header, wp_admin_bar_wp_menu

Top Google Results

User discussions

wpseek mobile