-
-
Save femiyb/0de70c42296c6e621cbb3dbac35e2eb4 to your computer and use it in GitHub Desktop.
PMPro-extra-expiration-warning-emails (Change day email is sent out)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: PMPro Customizations | |
Plugin URI: http://www.paidmembershipspro.com/wp/pmpro-customizations/ | |
Description: Customizations for Paid Memberships Pro | |
Version: .1 | |
Author: Stranger Studios | |
Author URI: http://www.strangerstudios.com | |
*/ | |
function ts0325_fix_frequency($templates) { | |
//Code below will send out an email warning at 21 days. | |
return array( 21 => 'membership_expiring'); | |
} | |
add_filter('pmproeewe_email_frequency_and_templates', 'ts0325_fix_frequency'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment