Remove filter wpautop for visual composer content
Hi,
in my function.php file in child theme,
I insert these 2 lines :
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );
But <p></p> tags still insert before some tags ( before tags <ul></ul> for example ) when insert content like in accordion for example
Is there something special to remove it completely ?
VC developer says he has already remove the filter...
Regards
Comments
maybe he removed this filter but it does not mean that wp developers removed it as well. Unfortunately wp is weird in this matter and p tags will be added sometimes without reason.
Thanks!