Skip to main content

benecaster_before_account_cadence_switch

Action Free

Fires before the Billing period section (self-service billing-cadence switch) inside a subscription card on the [benecaster_account] dashboard. Echo your output.

Fires once per subscription card, and only for a subscription backed by the built-in membership, immediately after benecaster_after_account_tier_switch and before the Free Plan section. It fires even when the section itself shows nothing (for example a tier that has only ever sold one cadence), because it wraps the section’s template rather than its output.

Parameters

Name Type Default Description
$show_id int — The show whose subscription card is rendering.
$user_id int — The subscriber viewing their own account page.

Need this built rather than just documented? See our services →