Skip to:
Content
Pages
Categories
Search
Top
Bottom

Welcome Pack emails in plaintext

  • 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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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;
    }
    `

    Avatar of Aaron Sylvan
    Aaron Sylvan
    Member

    @aaronsylvan

    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”

    Avatar of ultimateuser
    ultimateuser
    Participant

    @ultimateuser

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

    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.

Viewing 4 replies - 1 through 4 (of 4 total)

The forum ‘Welcome Pack’ is closed to new topics and replies.