Disable Emojis in WordPress 4.2+ For a Faster Page Load
As of WordPress 4.2, a new feature was introduced that allows you to use the new Emojis. While on some WordPress setups are useful, in many situations, especially when you are not using WordPress as a blog, you just don’t need them and the file /wp-includes/js/wp-emoji-release.min.js
is loaded along with extra inline JavaScript code.
As I want my page to load as fast as possible and have the HTML code clean when analyzing the source code (as a developer), I’d rather have all that extra code removed, especially since it loads on every page of my website. There are two ways in which you can do that, depending on your circumstances.