cbc video status timeout

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' );

Note

In the current plugin build the video status verification runs on every check, so this timeout filter is not actively applied. It is documented for completeness and forward compatibility.

Start importing in minutes

Bring your YouTube content into WordPress and let it update itself. Includes automatic updates and support.