_admin_bar_bump_cb

Default admin bar callback.

Description

_admin_bar_bump_cb(); 

Usage

  1. if ( !function_exists( '_admin_bar_bump_cb' ) ) { 
  2. require_once ABSPATH . WPINC . '/admin-bar.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = _admin_bar_bump_cb(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/admin-bar.php  
  1. function _admin_bar_bump_cb() { ?> 
  2. <style type="text/css" media="screen"> 
  3. html { margin-top: 32px !important; } 
  4. * html body { margin-top: 32px !important; } 
  5. @media screen and ( max-width: 782px ) { 
  6. html { margin-top: 46px !important; } 
  7. * html body { margin-top: 46px !important; } 
  8. </style> 
  9. <?php