Skip to content
CF7 UI
  • Form Templates
  • Guides

How to remove <br /> and <p> from Contact Form 7

March 8, 2023June 24, 2022 by Travis Williamson
Contact Form 7 remove br and p

To remove <br /> and <p> tags from the output of Contact Form 7, you can use the wpcf7_autop_or_not() filter hook provided by the plugin. This hook allows you to control whether or not the wpautop() function is applied to the output of Contact Form 7, which is responsible for adding the <br /> and … Read more

Categories Contact Form 7

Recent Posts

  • How to remove <br /> and <p> from Contact Form 7

©2023 CF7UI

Privacy policy