Skip to main content

benecaster_availability_set

Action Premium

Fires after availability dates are written for an episode via the REST API — on every save, whether or not the submitted values differ from what was already stored. Also invalidates the feed cache for affected show/tier combinations.

Parameters

Name Type Default Description
$episode_id int ID of the episode
$show_id int ID of the show
$tier_datetimes array Tier slug => availability datetime (site-local) as written

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