Core Function
View Source on Trac ↗ spawn_cron()
spawn_cron( mixed $gmt_time = 0 ) Sends a request to run cron through HTTP request that doesn't halt page loading.
Parameters 0 required
| Name / Type | Description |
|---|---|
| $gmt_time int | Optional. Unix timestamp (UTC). Default 0 (current time is used). |
Return Value
(bool)
True if spawned, false if no events spawned.
Function Information
Since Version
2.1.0
Source File
wp-includes/cron.php
Advertisement