Zoom_Helpers::__construct()

Zoom_Helpers constructor.


Source Source

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

	public function __construct() {

		$this->load_options = Automator()->helpers->recipe->maybe_load_trigger_options( __CLASS__ );

		$this->setting_tab   = 'zoom_api';
		$this->automator_api = AUTOMATOR_API_URL . 'v2/zoom';

		add_filter( 'uap_settings_tabs', array( $this, 'add_zoom_api_settings' ), 15 );
		add_action( 'init', array( $this, 'zoom_oauth_save' ), 200 );

		// Disconnect wp-ajax action.
		add_action( 'wp_ajax_uap_automator_zoom_api_disconnect', array( $this, 'disconnect' ), 10 );
	}