Filter since v1.0.0
fswa_http_timeout
Sets the total HTTP request timeout in seconds.
$
/ Signature
apply_filters( 'fswa_http_timeout', $seconds )
/ When it fires
Fires when building the `wp_remote_request()` arguments for each delivery.
/ Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| $seconds | param | int | yes | Timeout in seconds. Default: `5`. |
/ Returns
int Timeout in seconds./ Examples
Increase timeout for slow external APIs
add_filter( 'fswa_http_timeout', function ( $seconds ) { return 15; } );
/ Related
Ready Stop losing webhooks.
Stop losing webhooks.
Start logging them.
$ wp plugin install flowsystems-webhook-actions --activate