Skip to main content

benecaster_availability_check_run

Action Premium

Fires once after each scheduled availability check completes. Reports how many tier/episode pairs became available in that run and the details of each. When the count is zero, nothing unlocked — most integrations should skip processing in that case.

Use this hook when you want one summary callback after a batch of unlocks. For a callback per unlock, use benecaster_availability_unlocked instead.

Parameters

Name Type Default Description
$unlocked_count int Number of tier/episode pairs that became available in this cron run
$rows array Raw query result; each row has episode_id, show_id, tier_slug, available_datetime

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