A WordPress-centric search engine for devs and theme authors



_get_cron_array ›

Since2.1.0
Deprecatedn/a
_get_cron_array ( No parameters )
Access:
  • private
Returns:
  • (false|array) CRON info array.
Defined at:
Codex:

Retrieve cron info array option.



Source

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;
}