Optin Optin
Use code:
0 Day
00 Hour
00 Min
00 Sec
Grab It Before It’s Gone

Documentation

s2_sanitize_email

This hook allows email address passed through the Subscribe2 HTML sanitise_email() function to be filtered. I get asked about emails from time to time because Subsribe2 HTML complies fully with RFC3521; treating the user part of the email before the @ as case sensitive. Some people don’t like this, so this filter is a solution.

function my_s2_sanitize_email( $email ) {
    // return a filtered email address, for example with all letters in lower case
 
    return strtolower( $email );
}
add_filter('s2_sanitize_email', 'my_s2_sanitize_email');

How can we help?

Contact Us

Reach out to us for any inquiry

You must enter full name
You must enter email
You must enter message

We got your message

We will reply to you very soon :)