Automattic\WP\Cron_Control\Cron_Options_CPT::update_option PHP Метод

update_option() публичный Метод

By returning $old_value, cron option won't be updated
public update_option ( $new_value, $old_value )
    public function update_option($new_value, $old_value)
    {
        if ($this->is_unscheduling()) {
            $this->unschedule_job($new_value, $this->option_before_unscheduling);
        } else {
            $this->convert_option($new_value);
        }
        return $old_value;
    }