Correct code in functions.php to disable Emoji
-
Hi, I know there is a well built and supported plugin that does this, but I’d like to avoid installing more plugins if I can. I found a site that indicated to disable Emoji (the javascript/css added to every page in 4.2) all you need to do is add this code to your functions.php
// REMOVE EMOJI ICONS remove_action('wp_head', 'print_emoji_detection_script', 7); remove_action('wp_print_styles', 'print_emoji_styles');
All I want to know is, is this a correct and clean way to accomplish this? No other side effects?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Correct code in functions.php to disable Emoji’ is closed to new replies.