1. WordPress Snippets

Remove Emoji Scripts from WordPress Head

10 / 100 SEO Score

WordPress adds emoji script in page header so if you need to remove all traces of emoji script from WordPress head in just one minute using this code snippet where let you filter by WordPress built-in hooks.

Steps to emoji scripts from WordPress Head:

  1. Open WordPress admin panel then go to Appearance > Theme Editor
  2. Open theme functions.php file, if you work localhost open the same file using any code editor IDE
  3. Add the following code at the bottom of the file.
  4. Save the changes.
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'wp_print_styles', 'print_emoji_styles' );

Did you find the WordPress snippets in this article helpful? Share it with your friends and if you have any questions and want to ask us about it, please don’t hesitate to add comments.

Comments to: Remove Emoji Scripts from WordPress Head

Your email address will not be published. Required fields are marked *

Latest Articles

Latest Snippets