Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

_get_cron_array(): array[]|false

Retrieve cron info array option.


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

Top ↑


File: wp-includes/cron.php. View all references

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;

Top ↑


Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.