Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Plugin Name: Extend HTTP Request Timeout
Plugin URI:
Description: Extends the default timeout length for the WordPress HTTP API
Author: Sutherland Boswell
Author URI:
Version: 1.0
License: GPL2
function refactored_extend_http_request_timeout( $timeout ) {
return 30;
add_filter( 'http_request_timeout', 'refactored_extend_http_request_timeout' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.