Skip to main content

benecaster_before_account_tier_switch

Action Free

Fires before the Your Plan section (a subscriber’s self-service move to another tier) 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_billing_portal. Your Plan renders above Billing period, so anything you echo here appears above both. It fires even when the section itself shows nothing (for example a show with one paid tier), 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 →