Created
June 20, 2015 13:29
-
-
Save JackNUMBER/60b4001228fd5c02229c to your computer and use it in GitHub Desktop.
[Wordpress] Remove emoji/emoticons external script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/* in functions.php*/ | |
// remove emoticons external script | |
remove_action('wp_head', 'print_emoji_detection_script', 7); | |
// remove completely CSS/JS scripts (new emoticons are always enabled) | |
remove_action('wp_head', 'print_emoji_detection_script', 7); | |
remove_action('admin_print_scripts', 'print_emoji_detection_script'); | |
remove_action('wp_print_styles', 'print_emoji_styles'); | |
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