logo Randthemes.com

How to disable emoji in WordPress

If you are using a version of WordPress which is greater than 4.2 you probably noticed that have new features in it. One of them is Emojis.

If your site is for business and you don’t want this future you need to disable it.

Just add code below in your functions.php file and you never see them again.

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');

Leave a Reply