apply_filters( 'sensei_import_attachment_request_timeout', $timeout ) → {float}
Filters the timeout value for the HTTP request which retrieves an external attachment.
Increase this value in case big attachments are imported and the request to get them times out.
Parameters:
Name | Type | Description |
---|---|---|
$timeout |
float | Time in seconds until a request times out. Default 10. |
- Since:
- 3.3.0
- Source:
Returns:
Filtered timeout value.
- Type
- float