This function is deprecated. Use RCP_Membership->can_renew() instead.
Determines whether or not a member can renew their subscription. The function will return false
if all the following criteria apply:
- The member has an automatically recurring subscription
- and, the member's account is still active (has not expired)
- and, the member's status is not "canceled" or "free"
Parameters:
- $user_id - ID of the user to check. Omit to use the currently logged-in member.
Return values:
true
if the user can renew their subscription.false
if the user cannot renew.