Skip to content

Remove WordPress emoji scripts from head

SnippetWordpressWordpress Head

//remove emoji
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'wp_print_styles', 'print_emoji_styles' );

Removes the new emoji scripts which are in the head from WordPress 4.2 up. Put this in your theme’s functions.php