This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.
This documentation has moved here: https://github.com/johnbillion/wp_mail
| document.addEventListener('om.Campaign.afterShow', function(event) { | |
| // Replace YOUR_DUMMY_EMAIL with the email address you want to autofill the field with. | |
| // A validly formatted email address is required here. | |
| var emailValue = "YOUR_DUMMY_EMAIL"; | |
| document.getElementById("{{ns}}-field-email").value = emailValue; | |
| }); |
This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.
This documentation has moved here: https://github.com/johnbillion/wp_mail
| ## BEGIN Force SSL ## | |
| RewriteEngine On | |
| RewriteCond %{HTTPS} !=on | |
| RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R=301,L] | |
| ## END Force SSL ## | |
| ## BEGIN WordPress ## | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / |
| <?php | |
| add_filter( 'optin_monster_conversion_data', 'tgm_om_modify_conversion_data', 10, 2 ); | |
| function tgm_om_modify_conversion_data( $data, $object ) { | |
| // If there is no redirect, do nothing. | |
| if ( empty( $data['redirect'] ) ) { | |
| return $data; | |
| } | |
| if ( isset( $object->email ) && $object->email ) { |