Automattic\WooCommerce\Blocks\Domain

Package::set_version_stored_on_db()publicWC 1.0

Set the version of the plugin stored in the database. This is useful during the first installation or after the upgrade process.

{} Это метод класса: Package{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$Package = new Package();
$Package->set_version_stored_on_db();

Код Package::set_version_stored_on_db() WC 6.9.4

public function set_version_stored_on_db() {
	update_option( Options::WC_BLOCK_VERSION, $this->get_version() );

}