rcp_transition_membership_status

Triggers whenever a membership's status changes.

Parameters:

  • $old_status (string) - The previous status before this change.
  • $new_status (string) - The new status being set.
  • $membership_id (int) - ID of the membership.