remove_filter( 'the_content', 'wpautop' ); not working
-
Hi, I know there are posts all over the place about the stupid p tags getting added by wordpress but I can’t find a solution anywhere other than the one in the codex to remove the filter but
remove_filter( 'the_content', 'wpautop' );
is not working.
I don’t use the visual editor because it is mentally challenged. Actually I have it disabled.
Adding yet another plugin is not a solution. It’s a hack. So if anyone knows why the remove filter method isn’t working could you please offer me some suggestions?
I went into formatting.php and commented out the entire wpautop method except for the return, and everything is beautiful (don’t understand why it’s even part of wp) but that’s a temporary hack and won’t work with updates.
Thanks
- The topic ‘remove_filter( 'the_content', 'wpautop' ); not working’ is closed to new replies.