WordPress 如何禁用Emoji


把如下代码copy到主题的functions.php文件即可

  1. remove_action( ‘admin_print_scripts’, ‘print_emoji_detection_script’);  
  2. remove_action( ‘admin_print_styles’, ‘print_emoji_styles’);  
  3. remove_action( ‘wp_head’, ‘print_emoji_detection_script’, 7);  
  4. remove_action( ‘wp_print_styles’, ‘print_emoji_styles’);  
  5. remove_filter( ‘the_content_feed’, ‘wp_staticize_emoji’);  
  6. remove_filter( ‘comment_text_rss’, ‘wp_staticize_emoji’);  
  7. remove_filter( ‘wp_mail’, ‘wp_staticize_emoji_for_email’);  

艺舍微店:https://weidian.com/?userid=1631526996
艺舍面包多:https://mbd.pub/o/rhymo
原文链接:https://www.artcg.design/292.html,转载请注明出处。

0

评论0

请先

站点公告

  1. 1.请不要使用QQ浏览器有可能无法访问.
  2. 2.【每日打卡说明】,免费支持我们
显示验证码