benecaster_buyup_revoked
Fires after an admin revokes a subscriber’s buy-up from the admin screen, rather than the subscriber cancelling it themselves. Access ends immediately. Use for the same cleanup you would do on cancellation — revoking an external entitlement, updating a CRM record — where you need to distinguish an administrative removal from a voluntary one.
No Stripe subscription item ID is passed. This is deliberate: a revocation can happen after the Stripe item has already gone away, so there is not always one to hand you. If you need it, look it up from the buy-up record before acting. The subscriber-initiated equivalent is benecaster_buyup_cancelled.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$user_id |
int |
— | WordPress user ID |
$buyup_id |
int |
— | ID of the buy-up record |
$show_id |
int |
— | ID of the show |
Need this built rather than just documented? See our services →