rcp_transition_membership_status_{status}

Note: This is part of the developer docs and is considered custom code.
Unfortunately, we cannot provide support for custom code at this time as we do not have the additional resources that would be necessary to provide support for custom code.

If you need assistance with this, please reach out to our list of consultants for further assistance:
https://codeable.io/developers/restrict-content-pro/

Triggers when a membership's status changes. {status} will be the slug of the new status. For example:

  • rcp_transition_membership_status_active

  • rcp_transition_membership_status_expired

  • rcp_transition_membership_status_cancelled

  • rcp_transition_membership_status_pending

Parameters:

  • $old_status (string) - The previous status.
  • $membership_id (int) - ID of the membership.
Have more questions? Submit a request