Email Templates

By default, emails you send with Noptin will look something like this:-

default email template

It’s simple and works well on all devices. Here is the default template used to render your email.

Noptin provides a few hooks that you can use to change sections of this email or entirely change the template.

Template Filters

You can use the following filters to change certain aspects of the default template.


Filters the logo to include in the email. By default, no logo is added to your emails. You can, however, use this filter to specify a URL to your logo as shown below.

function noptin_docs_filter_logo_url( $url ){
        return '';
add_filter( 'noptin_email_logo_url', 'noptin_docs_filter_logo_url' );


Filters the entire logo markup. Here is the markup used by the default template.


Filters the main email content.


Filters the email footer.

Still Stuck?   How can we Help?
Updated on

4 thoughts on “Email Templates”

  1. First of all, I’d like to say, Noptin is best plugin ever!
    but I can’t find guide about how to attach ‘unsubscribe’ link on template.
    Please guide me. Thanks!

    1. Hi Natalie,

      Thanks for the kind words.

      You can use the [[unsubscribe_url]] tag as a URL anchor and it will be replaced by the unsubscribe link.

      Below is an example of how the default template does it:-

      <p style="margin: 0;">To stop receiving these emails, you can <a href="[[unsubscribe_url]]" target="_blank" rel="noopener noreferrer nofollow ugc">unsubscribe</a> at any time.</p>

Leave a Reply

Your email address will not be published. Required fields are marked *

Stop Losing Customers
Learn how to grow and monetize your email list like a pro!
Custom CSS Slide Example
Custom Animation Example
Default Animation