When your website means business.

eCommerce, PHP, WP/CP | Type: PHPRemoving autop, and when you can’t remove it

The autop function can be very annoying when you’re trying to format content. But some plugins depend on autop to work, such as the checkout function in EDD, and possibly (still investigating) Gravity Forms credit card submission.

To remove, add the following to the functions file, or to an MU plugin.

//remove autop filter
remove_filter('the_content', 'wpautop');
remove_filter('the_excerpt', 'wpautop');

Reference Links

We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept