Updater::get_update_callbacks()
Returns an array of callbacks with version strings as keys.
Any key higher than the version recorded in the DB and lower than $this->current_version will have its callback called.
Return
(TribeEventsVirtualarray<string|TribeEventsVirtualcallback>) The version number and callback to use.
Source
File: src/Tribe/Updater.php
public function get_update_callbacks() {
return [
'1.5' => [ $this, 'multiple_account_migration_setup' ],
'1.6' => [ $this, 'video_source_migration' ],
];
}
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |