wp_admin_bar_header()
Deprecated since 6.4.0. It is no longer supported and may be removed in future releases. Use wp_enqueue_admin_bar_header_styles() instead.
Prints style and scripts for the admin bar.
No Hooks.
Returns
null. Nothing (null).
Usage
wp_admin_bar_header();
Changelog
| Since 3.1.0 | Introduced. |
| Deprecated since 6.4.0 | Use wp_enqueue_admin_bar_header_styles() instead. |
wp_admin_bar_header() wp admin bar header code WP 7.0
<?php
function wp_admin_bar_header() {
_deprecated_function( __FUNCTION__, '6.4.0', 'wp_enqueue_admin_bar_header_styles' );
?>
<style media="print">#wpadminbar { display:none; }</style>
<?php
}