Title: No Expiration
Last modified: September 4, 2021

---

# No Expiration

 *  Resolved [jockoe](https://wordpress.org/support/users/jockoe/)
 * (@jockoe)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/no-expiration/)
 * Hi. I have 2 issues going on simultaneously. (the membership is ID 4 and has 
   the name ‘Free Trial with Full Access’.)
 * Issue #1:
    I am using the code recipe on this page, [Apply a Default PMPro Membership Level During WordPress User Registration](https://www.paidmembershipspro.com/give-users-a-default-membership-level-at-registration/),
   to assign a membership to users that register to my site. The membership being
   assigned has an expiration date of ‘1 Hour’.
 * The membership is assigned when a user registers, but I see nothing to indicate
   that the user’s membership will expire. The ‘Members List’ lists the user’s End
   Date as ‘Never’. I’ve tried expiring the user manually using the plugin ‘WP Crontrol’
   with no luck.
 * Issue #2:
    I am using the PMP – Roles Add On. The role of ‘Free Trial with Full
   Access’ is not being assigned when the user registers and is assigned the default
   registration. I have the user role checlmarked on the settings page for the level
   and as the default role in the settings for WordPress.
 * [I’ve tried deactivating the PMP – Roles Add On and still have both issues.]
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fno-expiration%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [jockoe](https://wordpress.org/support/users/jockoe/)
 * (@jockoe)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/no-expiration/#post-14839007)
 * Using the PMP – Expiration Date Add On did not solve my problem.
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/no-expiration/#post-14842352)
 * Hi there,
 * When applying a level via the pmpro_changeMembershipLevel function, it does not
   automatically pull in the level settings data when specifying a numeric value.
   This requires an associative array to be passed through to it in order to use
   this function to adjust expiration dates and such.You will need to pass ‘enddate’
   with the format ‘YYYY-MM-DD H:I:S’.
 * Here is source code of how we handle this via PayPal payments – [https://github.com/strangerstudios/paid-memberships-pro/blob/733142ba8050e0ec416382d56140ae27bdfa8380/services/ipnhandler.php#L565-L587](https://github.com/strangerstudios/paid-memberships-pro/blob/733142ba8050e0ec416382d56140ae27bdfa8380/services/ipnhandler.php#L565-L587)
 * If the user’s end date shows as “Never” this means they do not have an expiration
   date set.
 * For questions relating to premium and free Add Ons distributed via Paid Memberships
   Pro site, please can you open a support ticket on our site and someone from our
   team will continue to investigate this for you.
 * We are not allowed to support issues that arise from premium products or products
   not distributed through WordPress.org.
 * Thank you for understanding.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘No Expiration’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/no-expiration/#post-14842352)
 * Status: resolved