tp TouchPointWP EventsCalendar - TenthPres/TouchPoint-WP GitHub Wiki
tp\TouchPointWP\EventsCalendar
Provides an interface to bridge the gap between The Events Calendar plugin (by Modern Tribe) and the TouchPoint mobile app.
This class and its features are deprecated since it will no longer be needed when mobile v2 is retired.
- Full name:
\tp\TouchPointWP\EventsCalendar - Warning: this class is deprecated. This means that this class will likely be removed in a future version.
- This class implements:
\tp\TouchPointWP\Interfaces\api,\tp\TouchPointWP\Interfaces\module - This class is an Abstract class
Methods
api
Handle API requests
public static api(array $uri): bool
- This method is static.* Warning: this method is deprecated. This means that this method will likely be removed in a future version. Parameters:
| Parameter | Type | Description |
|---|---|---|
$uri |
array | The request URI already parsed by parse_url() |
Return Value:
False if endpoint is not found. Should print the result.