Webex_Provider::admin_routes()

Provides the routes that should be used to handle Webex 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/Webex_Provider.php

	public function admin_routes() {
		return [
			Api::$authorize_nonce_action => $this->container->callback( Api::class, 'handle_auth_request' ),
			Api::$status_action          => $this->container->callback( Api::class, 'ajax_status' ),
			Api::$delete_action          => $this->container->callback( Api::class, 'ajax_delete' ),
			Api::$select_action          => $this->container->callback( Classic_Editor::class, 'ajax_selection' ),
			Meetings::$create_action     => $this->container->callback( Meetings::class, 'ajax_create' ),
			Meetings::$remove_action     => $this->container->callback( Meetings::class, 'ajax_remove' ),
		];
	}

Top ↑

Changelog

Changelog
Version Description
1.9.0 Introduced.