Description

Filter cvm_feed_request_timeout allows for setting the time in seconds, before the connection is dropped and an error is returned when making a request to Vimeo API. The default for this value is 10 seconds.

Parameters

$timeout
(integer)(required) Request timeout before the connection is dropped.

Default:10

Examples

Increase Vimeo API request timeout to 15 seconds.

function increase_request_timeout( $timeout ){
    return 15;
}
add_filter( 'cvm_feed_request_timeout', 'increase_request_timeout' );

Related