取消Wordpress转义

Function代码

//取消内容转义,by minirizhi.com
remove_filter('the_content', 'wptexturize'); 
//取消摘要转义,by minirizhi.com
remove_filter('the_excerpt', 'wptexturize');
//取消评论转义,by minirizhi.com
remove_filter('comment_text', 'wptexturize');
文章目录