Used By
Used By | Description |
---|---|
wp-includes/admin-bar.php: is_admin_bar_showing() | Determines whether the admin bar should be showing. |
Filters whether to show the admin bar.
Returning false to this hook is the recommended way to hide the admin bar. The user’s display preference is used for logged in users.
(bool) Whether the admin bar should be shown. Default false.
Version | Description |
---|---|
3.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/show_admin_bar