Remove Emoji Script From Your WordPress Site
WordPress loads a few scripts by default to render emojis on the front end of your website. If you are not planning on displaying emojis on your site, then it really does not make sense to make your users load these scripts and styles. Remove emoji scripts (dequeue) from your WordPress site whenever you are not planning on using them in your content.
How to Remove WordPress Emoji Script
You can easily remove (dequeue) emoji scripts from loading on your WordPress website by adding the following code to your functions.php file.
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' );