【WordPress教程】禁止WordPress文章自动转义字符 WordPress 教程 20年3月15日 编辑 银河舰队银河舰队 取消关注 关注 私信 当前主题的functions.php文件添加以下代码实现禁止Wordpress文章自动转义字符 //取消内容转义 remove_filter('the_content', 'wptexturize'); //取消摘要转义 remove_filter('the_excerpt', 'wptexturize'); //取消评论转义 remove_filter('comment_text', 'wptexturize'); 给TA打赏 共{{data.count}}人 人已打赏