_set_cron_array


_set_cron_array ( $cron, $wp_error = false )

Access:
  • private
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:
  • 5: .
  • 5: .

Description

Updates the cron option with the new cron array.

Related Functions

_get_cron_array, _upgrade_cron_array, rest_is_array, __return_empty_array, do_action_ref_array

Top Google Results

User discussions

wpseek mobile