_get_cron_array
Retrieve cron info array option.
Description
(false|array) _get_cron_array();
Returns (false|array)
CRON info array.
Usage
if ( !function_exists( '_get_cron_array' ) ) { require_once ABSPATH . WPINC . '/cron.php'; } // NOTICE! Understand what this does before running. $result = _get_cron_array();
Defined (1)
The function is defined in the following location(s).
- /wp-includes/cron.php
- function _get_cron_array() {
- $cron = get_option('cron');
- if ( ! is_array($cron) )
- return false;
- if ( !isset($cron['version']) )
- $cron = _upgrade_cron_array($cron);
- unset($cron['version']);
- return $cron;
- }