show_admin_bar

show_admin_bar

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('show_admin_bar') is found 1 times:

  • /wp-includes/admin-bar.php line 1351
    	 * @since 3.1.0
    	 *
    	 * @param bool $show_admin_bar Whether the admin bar should be shown. Default false.
    	 */
    	$show_admin_bar = apply_filters( 'show_admin_bar', $show_admin_bar );
    
    	return $show_admin_bar;
    }
    
    /**
     * Retrieves the admin bar display preference of a user.
    

See this hook used in plugins: