Clanbite

filter_show_admin_bar( bool $show ): bool

Hide the front-end WordPress toolbar for users without manage_options when the option is enabled.

Super admins on multisite always keep the bar. is_admin() requests are unchanged.

public

Class: Kernowdev\Clanbite\Admin\General_Settings

Parameters

$show (bool) Required

Whether WordPress would show the admin bar.

Returns

bool

Defined in inc/admin/class-general-settings.php