Disable Emojis in WordPress

I hate emojis. They’re tiny, indecipherable and ambiguous. They also add unnecessary bloat to your website. This code snippet disables Emojis throughout your WordPress site.

Code Snippet

Add the following code snippet to functions.php or through the Code Snippets (or Code Snippets Pro) plugin:

add_action('init', 'removeemojis');
function removeemojis()
	{
          remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
          remove_action( 'wp_print_styles', 'print_emoji_styles' );
	}

That’s it, you’re done!