Updater::multiple_account_migration_setup()
Setup multiple account migration.
Return
(boolean) whether the migration to multiple accounts is complete.
Source
File: src/Tribe/Updater.php
public function multiple_account_migration_setup() {
/** @var \Tribe\Events\Virtual\Meetings\Zoom\Api */
$api = tribe( API::class );
// Get the latest refresh token and use it refresh and add the account for multiple accounts.
$refresh_token = tribe_get_option( Settings::$option_prefix . 'refresh_token' );
$refresh_token = $api->encryption->decrypt( $refresh_token );
if ( empty( $refresh_token ) ) {
return false;
}
return $this->migrate_zoom_account( $api, $refresh_token );
}
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |