Tribe__Events__Pro__Main::run_updates()
Make necessary database updates on admin_init
Return
(void)
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__Pro__Updater( self::VERSION ); if ( $updater->update_required() ) { $updater->do_updates(); } }