Tribe__Tickets__Main::run_updates()

Make necessary database updates on admin_init

Contents


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();
		}
	}

Top ↑

Changelog

Changelog
Version Description
4.7.1 Introduced.