[Resolved] [Plugin: Simple Fields] remove wpautop
I have set
remove_filter('the_content', 'wpautop');in my functions.php and that works for my posts and pages. However my Simple FIelds HTML Editor content seems to be running wpautop still. Certainly I am getting
<p>inserted where I don’t want them… Is there a hook to use to remove this?
I’ve actually found the code: Line 357 in function_post.php. Setting
$do_wpautopto false solve it. However editing the plugin is a bad idea long term. Does anyone know of a “safe” way to do this?
- The topic ‘[Resolved] [Plugin: Simple Fields] remove wpautop’ is closed to new replies.