ActionScheduler_Abstract_Schema::mark_schema_update_complete()privateWC 1.0

Update the option in WordPress to indicate that our schema is now up to date

Method of the class: ActionScheduler_Abstract_Schema{}

No Hooks.

Return

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->mark_schema_update_complete();

ActionScheduler_Abstract_Schema::mark_schema_update_complete() code WC 8.6.1

private function mark_schema_update_complete() {
	$option_name = 'schema-' . static::class;

	// work around race conditions and ensure that our option updates
	$value_to_save = (string) $this->schema_version . '.0.' . time();

	update_option( $option_name, $value_to_save );
}