_admin_bar_bump_cb
Default admin bar callback.
Description
_admin_bar_bump_cb();
Usage
if ( !function_exists( '_admin_bar_bump_cb' ) ) { require_once ABSPATH . WPINC . '/admin-bar.php'; } // NOTICE! Understand what this does before running. $result = _admin_bar_bump_cb();
Defined (1)
The function is defined in the following location(s).
- /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