Amount of seconds before a request times out when retrieving Paid Memberships Pro Add Ons.
/** * Filter to change the timeout for the wp_remote_get() request. * * @since 1.8.5.1 * * @see pmpro_getAddons * * @param int $timeout The number of seconds before the request times out * * @return int $timeout The timeout in seconds. */ $timeout = apply_filters( 'pmpro_get_addons_timeout', 5 ); |
Parameters
- $timeout
- int
Return Value
$timeout
Source
File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/addons.php
View in Source Code