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_1145' );
function filter_function_name_1145( $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 1224
$show_admin_bar = apply_filters( 'show_admin_bar', $show_admin_bar );

Where in WP core the hook is used

Usage not found!