_set_cron_array
- %1$s is private and should not be used in themes or plugins directly.
_set_cron_array ( $cron, $wp_error = false )
Access:Parameters:- (array[]) cron Array of cron info arrays from _get_cron_array().
- (bool) wp_error Optional. Whether to return a WP_Error on failure. Default false.
Returns:- (bool|WP_Error) True if cron array updated. False or WP_Error on failure.
Defined at:Change Log: - Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Description
Updates the cron option with the new cron array.