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:
- Open WordPress admin panel then go to Appearance > Theme Editor
- Open theme functions.php file, if you work localhost open the same file using any code editor IDE
- Add the following code at the bottom of the file.
- 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.