cron_request

最后更新于:2021-11-26 04:02:39

apply_filters( ‘cron_request’, array $cron_request_array, string $doing_gc_cron )

Filters the cron request arguments.

参数

$cron_request_array

(array)
An array of cron request URL arguments.

  • ‘url’
    (string) The cron request URL.
  • ‘key’
    (int) The 22 digit GMT microtime.
  • ‘args’
    (array) An array of cron request arguments.

    • ‘timeout’
      (int) The request timeout in seconds. Default .01 seconds.
    • ‘blocking’
      (bool) Whether to set blocking for the request. Default false.
    • ‘sslverify’
      (bool) Whether SSL should be verified for the request. Default false.

$doing_gc_cron

(string)
The unix timestamp of the cron lock.

源文件

文件: gc-includes/cron.php

View on Trac