benecaster_subscription_cadence_switched
Fires when a scheduled billing-period switch actually takes effect — the subscription renewed on the new price. Driven by the customer.subscription.updated webhook event for that renewal; no new webhook event is needed, since the podcaster already selects that event in Stripe for other purposes.
It fires for a scheduled tier move too. In that case the subscriber’s tier moves as well, and benecaster_subscription_tier_changed also fires. The feed URL never changes.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$user_id |
int |
— | WordPress user ID |
$show_id |
int |
— | ID of the show |
$from_price_id |
int |
— | benecaster_membership_prices.id the subscriber paid before the switch landed (0 if unknown) |
$to_price_id |
int |
— | benecaster_membership_prices.id now in effect |
Need this built rather than just documented? See our services →