The PayPal Subscription Extension operates by setting a user’s expiration date to today + the subscription period. For example, if the subscription period is 1 year, the expiration date will be one year from now.
But what if you want all users to expire/renew on the same day of the year? Or if you would like to just set a hard date far out in the future? Yes, there is a way you can do such things.
There is an action hook that comes just after the user’s expiration date is automatically set – wpmem_exp_after_set_exp. Using this action, you can create a custom function to change the expiration date that is automatically set by the extension to whatever you want. Here are three simple examples. Continue Reading →