ActionScheduler_Abstract_Schema::mark_schema_update_complete()
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() ActionScheduler Abstract Schema::mark schema update complete code WC 9.3.3
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 ); }