Deprecated: Hook wpmem_inc_login_args is deprecated since version 3.3.0! Use wpmem_login_form_defaults instead. in /var/www/vhosts/rocketgeek.com/test.rocketgeek.com/wp/wp-includes/functions.php on line 6078
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.
To gain full access to WP-Members premium content, a current support subscription is required. You can purchase
an annual support subscription for as little as $59, which provides you with access to priority support, a
customer support forum, access to code snippets, and more.
Why wait? Choose your subscription option here.
[Why join?]