rcp_member_can_renew

Filters whether or not a member is able to renew their subscription. This should usually return false if:

  • The user's current subscription is free.
  • or, the member already has a recurring subscription and their subscription status is "active".

Parameters:

  • $can_renew (bool) - Whether or not the user is able to renew their subscription.
  • $user_id  (int) - ID of the user being checked.