Skip to content

Instantly share code, notes, and snippets.

@eikeco
Created May 3, 2015 12:52
Show Gist options
  • Save eikeco/04244d6335f6e81643e9 to your computer and use it in GitHub Desktop.
Save eikeco/04244d6335f6e81643e9 to your computer and use it in GitHub Desktop.
Remove Emoji code from wp_head
// REMOVE WP EMOJI
remove_action('wp_head', 'print_emoji_detection_script', 7);
remove_action('wp_print_styles', 'print_emoji_styles');
@eikeco
Copy link
Author

eikeco commented May 3, 2015

WordPress 4.2 added a bunch of scripts to the head for Emoji support. Add this code to your functions.php and it will remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment