_admin_bar_bump_cb()
Prints default admin bar callback.
Contents
Source
File: wp-includes/admin-bar.php
.
View all references
function _admin_bar_bump_cb() {
$type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"';
?>
<style<?php echo $type_attr; ?> media="screen">
html { margin-top: 32px !important; }
@media screen and ( max-width: 782px ) {
html { margin-top: 46px !important; }
}
</style>
<?php
}
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |