_admin_bar_bump_cb()WP 3.1.0

Deprecated from version 6.4.0. It is no longer supported and can be removed in future releases. Use wp_enqueue_admin_bar_bump_styles() instead.

Prints default admin bar callback.

Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.

No Hooks.

Return

null. Nothing (null).

Usage

_admin_bar_bump_cb();

Changelog

Since 3.1.0 Introduced.
Deprecated since 6.4.0 Use wp_enqueue_admin_bar_bump_styles() instead.

_admin_bar_bump_cb() code WP 6.5.3

<?php
function _admin_bar_bump_cb() {
	_deprecated_function( __FUNCTION__, '6.4.0', 'wp_enqueue_admin_bar_bump_styles' );
	$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
}