tp TouchPointWP api - TenthPres/TouchPoint-WP GitHub Wiki

tp\TouchPointWP\api

API Interface

  • Interface name: api
  • Namespace: \tp\TouchPointWP
  • This is an interface

Methods

api

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

Handle API requests

  • Visibility: public
  • This method is static.

Arguments

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

Returns

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