A WordPress-centric search engine for devs and theme authors



print_emoji_styles ›

Since4.2.0
Deprecatedn/a
print_emoji_styles ( No parameters )
Defined at:
Codex:

Print the important emoji-related styles.



Source

function print_emoji_styles() {
	static $printed = false;

	if ( $printed ) {
		return;
	}

	$printed = true;
?>
<style type="text/css">
img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}