New answers tagged

1

You can set the timeout directly in the wp_remote_post() $args, as per this example from developer.wordpress.org: $response = wp_remote_post( $url, array( 'method' => 'POST', 'timeout' => 45, 'redirection' => 5, 'httpversion' => '1.0', 'blocking' => true, 'headers' => array(), 'body' => ...



Top 50 recent answers are included