wp_admin_bar_header()WP 3.1.0

Prints style and scripts for the admin bar.

No Hooks.

Return

null. Ничего (null).

Usage

wp_admin_bar_header();

Changelog

Since 3.1.0 Introduced.

wp_admin_bar_header() code WP 6.3

<?php
function wp_admin_bar_header() {
	$type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"';
	?>
<style<?php echo $type_attr; ?> media="print">#wpadminbar { display:none; }</style>
	<?php
}