wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_admin_bar_header › WordPress Function

Since3.1.0
Deprecatedn/a
wp_admin_bar_header ( No parameters )
Defined at:
Codex:

Prints style and scripts for the admin bar.



Source

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
}