WordPress at Your Fingertips
function is not described

ActionScheduler_Abstract_Schema::mark_schema_update_complete() private WC 1.0

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

{} It's a method of the class: ActionScheduler_Abstract_Schema{}

No Hooks.


null. Nothing.


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

Code of ActionScheduler_Abstract_Schema::mark_schema_update_complete() WC 6.1.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 );