wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



_admin_bar_bump_cb › WordPress Function

Desde3.1.0
Obsoleto6.4.0
_admin_bar_bump_cb ( Sem parâmetros )
Definido em:
Codex:

Prints default admin bar callback.



Fonte

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
}