Tribe__Events__Community__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__Events__Updater' ) ) {
				return; // core needs to be updated for compatibility
			}

			$updater = new Tribe__Events__Community__Updater( self::VERSION );
			if ( $updater->update_required() ) {
				$updater->do_updates();
			}
		}

Top ↑

Changelog

Changelog
Version Description
4.5.10 Introduced.