http_request_timeout http_request_timeout function overwrite_wordpress_timeout( $timeout ) { return 60; // seconds } add_filter( ‘http_request_timeout’, ‘overwrite_wordpress_timeout’ );