Since the release of WordPress 4.2, support for emoji icons has been added into the mix of the many ongoing upgrades to the WordPress core. This addition has been met with mixed reviews, in some cases emojis can be a welcomed fun upgrade to spice up your blog but from the more professional side of things they aren’t really wanted nor needed. You might be saying, well if you don’t want them then simply don’t use them… right? Wrong, even if you aren’t utilizing the emojicons on your site, your site is still loading all of the CSS and JS used to drive them which increases load time slowing down your site. In this tutorial we will teach you how to remove and disable emoji support by simply adding a code snippet to your functions file.
Remove the emojicon-specific CSS and JS Functions
In order to completely remove emoji support from WordPress, we will simply unhook the already hooked in functions used to implement emojicons. Simply copy the code snippet below and paste it inside your functions file.// Remove Emojis remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); remove_action( 'wp_print_styles', 'print_emoji_styles' ); remove_action( 'admin_print_styles', 'print_emoji_styles' );
What are emojis?
Not sure what emojis are and if you need them, visit the emoji support page on the WordPress Codex to learn more:
If you are having problems getting this tutorial to work please reread the tutorial and try again, if you still cannot get it to work please leave us a comment below and we will respond as soon as possible. Please do not email us with problems regarding this tutorial, only comments will be responded to.