Gotowebinar_Helpers::gtw_oauth_update( string|array $old_value, string|array $new_value, string $option )

Action when settings updated, it will redirect user to 3rd party for OAuth connect.


Parameters Parameters

$old_value

(Required)

$new_value

(Required)

$option

(Required)


Source Source

File: src/integrations/gotowebinar/helpers/gotowebinar-helpers.php

	public function gtw_oauth_update( $old_value, $new_value, $option ) {
		if ( 'uap_automator_gtw_api_consumer_secret' === $option && $old_value !== $new_value ) {
			$this->oauth_redirect();
		}
	}