YouTube_Provider::admin_routes()
Provides the routes that should be used to handle YouTube 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.
Source
File: src/Tribe/Meetings/YouTube_Provider.php
public function admin_routes() {
return [
Settings::$delete_action => $this->container->callback( Settings::class, 'ajax_delete' ),
];
}
Changelog
| Version | Description |
|---|---|
| 1.6.0 | Introduced. |