wpcf7_autop_or_not help
-
Hello,
Due to the update a few months back we had to add add_filter( ‘wpcf7_autop_or_not’, ‘__return_false’ ); to various of our websites to resolve additional p tags which were added on the front-end which messed up some of the form layouts.
But one issue we have now is that this doesn’t only impact the front-end form output, it also affects the html within the form response sent by email, so we have a fair few responses now rendering the response all on one line vs. adding br tags like it did previously.
With this in mind, is there a way to adjust the hook add_filter( ‘wpcf7_autop_or_not’, ‘__return_false’ ); so that this only applies to the front-end form output, but not to the form response sent by email?
Many thanks for your help,
Tonya
- The topic ‘wpcf7_autop_or_not help’ is closed to new replies.