CartFlows_Batch_Process::test_cron( bool $cache = true )
Check Cron Status
Description
Gets the current cron status by performing a test spawn. Cached for one hour when all is well.
Parameters
- $cache
-
(bool) (Optional) Whether to use the cached result from previous calls.
Default value: true
Return
(true|WP_Error) Boolean true if the cron spawner is working as expected, or a WP_Error object if not.
Source
File: classes/importer/batch-process/class-cartflows-batch-process.php
Changelog
Version | Description |
---|---|
x.x.x | Introduced. |