Core Function
View Source on Trac ↗ show_admin_bar()
show_admin_bar( mixed $show ) Sets the display status of the admin bar.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $show bool | Whether to allow the admin bar to show. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
3.1.0
Source File
wp-includes/admin-bar.php
Advertisement