Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/admin-bar.php | apply_filters | 1288 | /** * 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. * * @since 3.1.0 * * @param bool $show_admin_bar Whether the admin bar should be shown. Default false. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $show_admin_bar | Whether the admin bar should be shown. Default false. |