_get_cron_array() – Retrieve cron info array option.

You appear to be a bot. Output may be restricted

Description

Retrieve cron info array option.

Usage

$array[]|false = _get_cron_array();

Parameters

Returns

array[]|false Array of cron info arrays on success, false on failure.

Source

File name: wordpress/wp-includes/cron.php
Lines:

1 to 14 of 14
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;
}
 

 View on GitHub View on Trac