On this page
apply_filters( 'cron_request', array $cron_request_array, string $doing_wp_cron )
Filters the cron request arguments.
Parameters
$cron_request_arrayarray-
An array of cron request URL arguments.
urlstringThe cron request URL.keyintThe 22 digit GMT microtime.argsarrayAn array of cron request arguments.timeoutintThe request timeout in seconds. Default .01 seconds.blockingboolWhether to set blocking for the request. Default false.sslverifyboolWhether SSL should be verified for the request. Default false.
$doing_wp_cronstringThe unix timestamp of the cron lock.Source
File:
wp-includes/cron.php. View all references$cron_request = apply_filters( 'cron_request', array( 'url' => add_query_arg( 'doing_wp_cron', $doing_wp_cron, site_url( 'wp-cron.php' ) ), 'key' => $doing_wp_cron, 'args' => array( 'timeout' => 0.01, 'blocking' => false, /** This filter is documented in wp-includes/class-wp-http-streams.php */ 'sslverify' => apply_filters( 'https_local_ssl_verify', false ), ), ), $doing_wp_cron );Related
Used By
Used By Description spawn_cron() wp-includes/cron.php Sends a request to run cron through HTTP request that doesn’t halt page loading.
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/cron_request