Facebook_Provider::admin_routes()

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

	public function admin_routes() {
		return [
			Settings::$save_app_action     => $this->container->callback( Settings::class, 'save_app' ),
			Settings::$add_action          => $this->container->callback( Page_API::class, 'add_page' ),
			Settings::$delete_action       => $this->container->callback( Page_API::class, 'delete_page' ),
			Settings::$save_action         => $this->container->callback( Page_API::class, 'save_page' ),
			Settings::$save_access_action  => $this->container->callback( Page_API::class, 'save_access_token' ),
			Settings::$clear_access_action => $this->container->callback( Page_API::class, 'clear_access_token' ),
		];
	}

Top ↑

Changelog

Changelog
Version Description
1.7.0 Introduced.