Skip to content

Instantly share code, notes, and snippets.

@RyanNutt
Created December 20, 2018 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RyanNutt/5a8336c1a10febf43c29bcd69d45fb48 to your computer and use it in GitHub Desktop.
Save RyanNutt/5a8336c1a10febf43c29bcd69d45fb48 to your computer and use it in GitHub Desktop.
Removes the WP Emoji JS from WordPress site - from https://www.denisbouquet.com/remove-wordpress-emoji-code/
// REMOVE WP EMOJI
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' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment