Gotowebinar_Helpers::gtw_oauth_new( string $option, string|array $new_value )

Action when settings added, 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_new( $option, $new_value ) {
		if ( 'uap_automator_gtw_api_consumer_secret' === $option && ! empty( $new_value ) ) {
			$this->oauth_redirect();
		}
	}