WPCF7_AUTOP set to false forces plain text emails
-
Am I correct to assume that due to this check
function wpcf7_mail_html_body_autop( $body ) { if ( wpcf7_autop_or_not() ) { $body = wpcf7_autop( $body ); } return $body; }
the HTML emails are sent in plain text if adding this config?
define('WPCF7_AUTOP', false);
Previously I used this config in order to only prevent autop when forms were rendered.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WPCF7_AUTOP set to false forces plain text emails’ is closed to new replies.