wpseek.com
A WordPress-centric search engine for devs and theme authors
show_admin_bar › WordPress Filter Hooks
Since3.1.0
Deprecatedn/a
› apply_filters( 'show_admin_bar', $show_admin_bar )
Parameters: |
|
Defined at: |
|
Codex: |
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.
Related Functions: show_admin_bar, _wp_admin_bar_init, wp_admin_headers, wp_admin_bar_render, wp_admin_bar_header, wp_admin_bar_wp_menu