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.

  • Class name: EventsCalendar
  • Namespace: \tp\TouchPointWP
  • This is an abstract class
  • This class implements: tp\TouchPointWP\api, tp\TouchPointWP\module* Warning: this class is deprecated. This means that this class will likely be removed in a future version.

Methods

api

bool tp\TouchPointWP\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\module::load()

Loads the module and initializes the other actions.

Returns

  • bool -