Skip to main content

benecaster_before_upgrade_prompt

Action Premium

Fires before the upgrade prompt renders. Shown inside the locked state to logged-in subscribers whose tier does not have access to the episode.

Parameters

Name Type Default Description
$episode_id int ID of the episode
$show_id int ID of the show
$required_tier string Minimum tier slug required to access the episode
$user_tier string The subscriber's current tier slug

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