Wordpress

Remove WordPress emoji code in your pages head without plugin

ADVERTISEMENT

How to remove the WordPress emoji code

In functions.php (your WordPress theme)
Add the following lines

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

ADVERTISEMENT
Подписаться
Уведомить о
guest

0 Comments
Межтекстовые Отзывы
Посмотреть все комментарии