Hooks::run_updates()

Run Updates on Plugin Upgrades.

Contents


Source

File: src/Common/Event_Automator/Hooks.php

	public function run_updates() {
		if ( ! class_exists( 'Tribe__Events__Updater' ) ) {
			return; // Core needs to be updated for compatibility.
		}

		$updater = new Updater( Plugin::VERSION );
		$updater->run_updates();
	}

Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.