spawn_cron

SummerySummery

Sends a request to run cron through HTTP request that doesn’t halt page loading.

Syntax

spawn_cron( int $gmt_time )

ParametersParameters

$gmt_time

(int) (Optional) Unix timestamp (UTC). Default 0 (current time is used).

ReturnReturn

(bool) True if spawned, false if no events spawned.

SourceSource

File: wp-includes/cron.php


			

ChangelogChangelog

Changelog
Version Description
5.1.0 Return values added.
2.1.0 Introduced.
Scroll to Top