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://www.artcg.design/292.html,转载请注明出处。

0

评论0

请先

站点公告

  1. 公众号:artcgdesign
  2. 教程笔记类文章将在公众号更新
  3. 喜欢我们的文章记得点一点公众号文章最后的广*告哦
  4. 1.请不要使用QQ浏览器有可能无法访问.
  5. ————————————————
  6. 2.邮箱注册时,验证码可能归类在垃圾箱里,请注意查收
  7. ————————————————
  8. 3.如果有问题,请添加微信客服QQ:1924173440咨询
  9. ————————————————
  10. 4.【每日打卡说明】,免费支持我们
显示验证码
没有账号? 注册  忘记密码?