升级到wp 3.6后,我无法从<p>
删除the_content
代码...
我在我的主题功能中使用了它并且工作正常,现在这个过滤器不起作用,
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );
答案 0 :(得分:0)
更改优先级:
remove_filter('the_content', 'wpautop', 99);
remove_filter('the_excerpt', 'wpautop', 99);