# Class ProRestAPI

This class facilitates all communication between the client and any server side modules which can be interacted with through the WordPress REST API.

  WPGMZA\Factory
  WPGMZA\RestAPI
  WPGMZA\ProRestAPI

Namespace: WPGMZA
Located at class.pro-rest-api.php

Methods summary
`public` | # `__construct( )` Constructor Constructor #### Overrides `WPGMZA\RestAPI::__construct()`
`public` | # `onRestAPIInit( )` Callback for the rest_api_init action, this function registers the plugins REST API routes. Callback for the rest_api_init action, this function registers the plugins REST API routes. #### Overrides `WPGMZA\RestAPI::onRestAPIInit()`
`public` | # `markerListing( $request )`

Methods inherited from WPGMZA\RestAPI
`datatables(), maps(), markers(), onEnqueueScripts(), sanitizeFieldNames()`

Methods inherited from WPGMZA\Factory
`createInstance()`

Constants inherited from WPGMZA\RestAPI
`NS`