Skip to content

Instantly share code, notes, and snippets.

@annelyse
Created February 5, 2019 17:28
Show Gist options
  • Save annelyse/6096ac55eb97c8cc3da742bf82472261 to your computer and use it in GitHub Desktop.
Save annelyse/6096ac55eb97c8cc3da742bf82472261 to your computer and use it in GitHub Desktop.
# In functions.php (your WordPress theme)
# Add the following lines
// 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