$api_version
$api_version : string
Protected variable to hold the API version.
Class Rest_Api
cost_tracker_rest_api_get_all_costs_callback(array $request) : object
Method cost_tracker_rest_api_get_all_costs_callback()
Callback function for managing the response to API requests made for the endpoint: cost-tracker Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/cost-tracker/get-all-costs API Method: GET
array | $request | The request made in the API call which includes all parameters. |
$response An object that contains the return data and status of the API request.
cost_tracker_rest_api_get_client_costs_callback(array $request) : object
Method cost_tracker_rest_api_get_client_costs_callback()
Callback function for managing the response to API requests made for the endpoint: cost-tracker Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/cost-tracker/get-client-costs API Method: GET
array | $request | The request made in the API call which includes all parameters. |
$response An object that contains the return data and status of the API request.
cost_tracker_rest_api_get_site_costs_callback(array $request) : object
Method cost_tracker_rest_api_get_site_costs_callback()
Callback function for managing the response to API requests made for the endpoint: cost-tracker Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/cost-tracker/get-site-costs API Method: GET
array | $request | The request made in the API call which includes all parameters. |
$response An object that contains the return data and status of the API request.
cost_tracker_rest_api_get_costs_callback(array $request) : object
Method cost_tracker_rest_api_get_costs_callback()
Callback function for managing the response to API requests made for the endpoint: cost-tracker Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/cost-tracker/get-costs API Method: GET
array | $request | The request made in the API call which includes all parameters. |
$response An object that contains the return data and status of the API request.