Plugin: Welcome Pack

Join this plugin group to follow comments, support topics and reviews.

Welcome Pack emails in plaintext (5 posts)

Started 7 months, 2 weeks ago by: Luciano Passuello

  • Profile picture of Luciano Passuello Luciano Passuello said 7 months, 2 weeks ago:

    I just upgraded to Welcome Pack 3.1, and noticed that there’s now “theming” in the emails sent. However, I already have a general, Wordpress-wide theming solution that I use (WP Better Emails plugin).

    How do I set Welcome Pack to send mails in plain text (so that WP Better Emails is able to theme it correctly)?
    Thanks in advance!

  • Profile picture of Luciano Passuello Luciano Passuello said 7 months, 1 week ago:

    I was able to figure this out myself by using one of the provided filters.
    For reference, here’s the code that discards all template information, keeping only the message content:

    add_filter( 'dpw_email_message', 'cleo_dpw_plaintext_message', 10, 2 );
    function cleo_dpw_plaintext_message( $template, $new_message ) {
    	return $new_message;
    }
  • Profile picture of Aaron Sylvan Aaron Sylvan said 5 months, 1 week ago:

    pardon the silly question… but will simply inserting that snippet into “functions.php” do the trick? I’m having the same problem: I LOVE “Welcome Pack”, but I also can’t live without “WP Better Emails”

  • Profile picture of ultimateuser ultimateuser said 4 months, 1 week ago:

    Yes it works if you put the code in bp-custom.php

  • Profile picture of Paul Gibbs Paul Gibbs said 4 months, 1 week ago:

    The upcoming 3.3 release will not touch your emails if you have the email customisation option enabled. If you have it enabled, it will change your emails.