A WordPress-centric search engine for devs and theme authors



_set_cron_array ›

Since2.1.0
Deprecatedn/a
_set_cron_array ( $cron )
Access:
  • private
Parameters:
  • (array) $cron Cron info array from _get_cron_array().
    Required: Yes
Defined at:
Codex:

Updates the CRON option with the new CRON array.



Source

function _set_cron_array( $cron ) {
	$cron['version'] = 2;
	update_option( 'cron', $cron );
}