Ever since WordPress 4.2 they enabled by default Emoji which is a pretty cute thing, but also resources consuming as it loads for all your pages. Now it’s not vital to keep this and removing might speed up your site, but how do you do this?

You can obviously install a plugin for it but there’s a simple code to add to your theme functions.php that will prevent it from loading.

// REMOVE WP EMOJI
remove_action('wp_head', 'print_emoji_detection_script', 7);
remove_action('wp_print_styles', 'print_emoji_styles');

remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
remove_action( 'admin_print_styles', 'print_emoji_styles' );

And that’s it!