Remove Emoji code from header in Wordpress without plugin

Emoji feature was introduced in WordPress 4.2, which adds emoji support to the WordPress websites. To support Emojis, WordPress adds some additional stlyes and scripts on every page which is may result in your website loading speed. Many websites running on WordPress doesn’t need this emoji support, in this case you might want to remove this emoji script from header and improve website loading speed.

To remove the Emoji script from header, Add this snippet to your themes functions.php