_admin_bar_bump_cb()
Default admin bar callback.
Source
File: wp-includes/admin-bar.php
function _admin_bar_bump_cb() { ?>
<style type="text/css" media="screen">
html { margin-top: 32px !important; }
* html body { margin-top: 32px !important; }
@media screen and ( max-width: 782px ) {
html { margin-top: 46px !important; }
* html body { margin-top: 46px !important; }
}
</style>
<?php
}
Changelog
Version | Description |
---|---|
WP-3.1.0 | Introduced. |