Zoom_Provider::admin_routes()

Provides the routes that should be used to handle Zoom API requests.

The map returned by this method will be used by the Tribe\Events\Virtual\Traits\With_Nonce_Routes trait.


Return

(TribeEventsVirtualMeetingsarray<string,callable>) A map from the nonce actions to the corresponding handlers.


Top ↑

Source

File: src/Tribe/Meetings/Zoom_Provider.php

	public function admin_routes() {
		return [
			Oauth::$authorize_nonce_action   => $this->container->callback( OAuth::class, 'handle_auth_request' ),
			OAuth::$deauthorize_nonce_action => $this->container->callback( OAuth::class, 'handle_deauth_request' ),
			Meetings::$create_action         => $this->container->callback( Meetings::class, 'ajax_create' ),
			Meetings::$update_action         => $this->container->callback( Meetings::class, 'ajax_update' ),
			Meetings::$remove_action         => $this->container->callback( Meetings::class, 'ajax_remove' ),
			Webinars::$create_action         => $this->container->callback( Webinars::class, 'ajax_create' ),
			Webinars::$update_action         => $this->container->callback( Webinars::class, 'ajax_update' ),
			Webinars::$remove_action         => $this->container->callback( Webinars::class, 'ajax_remove' ),
			API::$select_action              => $this->container->callback( API::class, 'ajax_selection' ),
			Settings::$status_action         => $this->container->callback( Settings::class, 'ajax_status' ),
			Settings::$delete_action         => $this->container->callback( Settings::class, 'ajax_delete' ),
		];
	}

Top ↑

Changelog

Changelog
Version Description
1.0.4 Renamed the method to admin_routes.
1.0.2.1 Introduced.