Description
By default, video status checking is done at most once every 24h. To change this 24h interval, use this filter.
Parameters
- $interval
-
(integer)(required) Delay interval in seconds to make YouTube API queries and check video status.
- Default:86400
Examples
Change verification interval to 1 hour.
/** * Change interval to 1 hour * @param integer $seconds - current interval * @return integer - new interval in seconds */ function change_interval( $seconds ){ return HOUR_IN_SECONDS; } add_filter( 'cbc_video_status_timeout', 'change_interval' );