Tribe__Events__Updater::get_update_callbacks()

Returns an array of callbacks with version strings as keys.

Contents

Any key higher than the version recorded in the DB and lower than $this->current_version will have its callback called.


Return

(array)


Top ↑

Source

File: src/Tribe/Updater.php

	public function get_update_callbacks() {
		return array(
			'2.0.1'  => array( $this, 'migrate_from_sp_events' ),
			'2.0.6'  => array( $this, 'migrate_from_sp_options' ),
			'3.10a4' => array( $this, 'set_enabled_views' ),
			'3.10a5' => array( $this, 'remove_30_min_eod_cutoffs' ),
			'4.2'    => array( $this, 'migrate_import_option' ),
			'4.6.23' => array( $this, 'migrate_wordpress_custom_field_option' ),
		);
	}