Skip to main content

benecaster_availability_check_run

Action Premium Since v1.0.0

Fires after each AvailabilityCron run completes, after all caches have been cleared. When $unlocked_count > 0, content just became available. Guard with ‘if ( $unlocked_count === 0 ) return;’ to skip unnecessary work.

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