• Resolved acann

    (@acann)


    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)
  • Thread Starter acann

    (@acann)

    Is this the correct area to be asking this question?

    Thread Starter acann

    (@acann)

    I asked this in an other thread and the answer give was yes, this works, although the Disable Emojis plugin does this an “more” so it is “better”. Marking as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Correct code in functions.php to disable Emoji’ is closed to new replies.