Tribe__Tickets__Main::run_updates()
Make necessary database updates on admin_init
Source
File: src/Tribe/Main.php
public function run_updates() {
if ( ! class_exists( 'Tribe__Updater' ) ) {
return;
}
$updater = new Tribe__Tickets__Updater( self::VERSION );
if ( $updater->update_required() ) {
$updater->do_updates();
}
}
Changelog
| Version | Description |
|---|---|
| 4.7.1 | Introduced. |