If you like and use WordPress Emojis, then there’s no real need to remove them. But if you don’t use them, then the huge block of code loaded for each page on your site is slowing things down. But it is easy enough to remove with some lines of code added to your functions.php or custom plugin.
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' );
Maybe you don’t even know what WordPress Emojis are. They are little special characters, like a smilie face, that appear in place of text like the characters colon followed by a right parenthesis. They are also used in place of the emoji characters you may type using your operating system’s native emoji characters.
That’s another reason you may want to remove them. Without the above code, the Emojis you use while writing seem to be replaced by the special WordPress emoji characters, which are a little simpler. So if you want to keep using the full standard emoji set, you’ll need to add this code to disable WordPress’ version. Of course, this could lead to cross-platform issues, especially with users who are using old browsers and operating system. So you may want to test,