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

Метод класса: ActionScheduler_Abstract_Schema{}

Хуков нет.


null. Ничего.


// private - только в коде основоного (родительского) класса
$result = $this->mark_schema_update_complete();

Код ActionScheduler_Abstract_Schema::mark_schema_update_complete() WC 7.7.2

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 );