wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
print_emoji_styles is deprecated since version 6.4.0!
Alternative: wp_enqueue_emoji_styles
Alternative: wp_enqueue_emoji_styles
print_emoji_styles › WordPress Function
Seit4.2.0
Veraltet6.4.0
› print_emoji_styles ( Keine Parameter )
Definiert in: |
|
Codex: |
Prints the important emoji-related styles.
Ähnliche Funktionen: print_embed_styles, print_admin_styles, print_late_styles, wp_enqueue_emoji_styles, wp_print_styles
Quellcode
function print_emoji_styles() { _deprecated_function( __FUNCTION__, '6.4.0', 'wp_enqueue_emoji_styles' ); static $printed = false; if ( $printed ) { return; } $printed = true; $type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"'; ?> <style<?php echo $type_attr; ?>> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 0.07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <?php }