Webex_Provider::register()

Registers the bindings, actions and filters required by the Webex API meetings provider to work.

Contents


Source

File: src/Tribe/Meetings/Webex_Provider.php

	public function register() {
		// Register this providers in the container to allow calls on it, e.g. to check if enabled.
		$this->container->singleton( 'events-virtual.meetings.webex', self::class );
		$this->container->singleton( self::class, self::class );

		if ( ! $this->is_enabled() ) {
			return;
		}

		$this->add_actions();
		$this->add_filters();
		$this->hook_templates();
		$this->route_admin_by_nonce( $this->admin_routes(), 'manage_options' );
	}

Top ↑

Changelog

Changelog
Version Description
1.9.0 Introduced.