• Hello,

    Hoping someone can be of assistance here. I am using WP Job Manager and when I add hyperlinks into the email content it becomes HTML format, so the WP Better Emails HTML wrap does not work. I used code supplied by hellonico that I saw in another post to make all posts plain/text which solved this issue. I added the following to my functions.php file:

    add_filter( ‘wp_mail_content_type’, ‘wpbe_force_plain_text’, 99 );
    function wpbe_force_plain_text( $content_type ) {
    return ‘text/plain’;
    }

    However, now my emails to clients from WooCommerce are also wrapped in the WP Better Emails format which I do not want. Is there any way to modify this code so my emails from WooCommerce do not get affected? Or is there any other solution?

    Thank you.

    https://www.ads-software.com/plugins/wp-better-emails/

  • The topic ‘Plain Text Emails and WooCommerce’ is closed to new replies.