the simple way is that add add_filter('wpcf7_autop_or_not', '__return_false');
in your functions.php
another way is to modify/edit your form and remove all your \\n
(new line characters).
you can also add this to your wp-config.php
define( 'WPCF7_AUTOP', false );
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.