Hooks::run_updates()
Run Updates on Plugin Upgrades.
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();
}
Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |