WordPress at a glance
filter is not described

show_admin_bar filter-hook . WP 3.1.0

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.


add_filter( 'show_admin_bar', 'filter_function_name_6519' );
function filter_function_name_6519( $show_admin_bar ){
	// filter...

	return $show_admin_bar;
Whether the admin bar should be shown.
Default: false


Since 3.1.0 Introduced.

Where the hook is called

wp-includes/admin-bar.php 1211
$show_admin_bar = apply_filters( 'show_admin_bar', $show_admin_bar );

Where the hook is used (in WP core)

Usage not found!