This filter replaced rcp_member_can_renew in version 3.0.
Filters whether or not a membership can be renewed. This will false if:
- The membership is free.
- The membership never expires.
- The membership is part of a payment plan and it has been completed (reached the maximum number of billing times).
- or, the membership is recurring and the status is "active".
- $can_renew (bool) - Whether or not the membership can be renewed.
- $membership_id (int) - ID of the membership being checked.
- $membership (RCP_Membership) - Membership object.