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

bool tp\TouchPointWP\Interfaces\api::api(array uri)

Handle API requests

Arguments

  • uri array - The request URI already parsed by parse_url()

Returns

  • bool - False if endpoint is not found. Should print the result.

load

bool tp\TouchPointWP\Interfaces\module::load()

Loads the module and initializes the other actions.

Returns

  • bool -