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.


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.