cb-ajax-requests.php
Table of Contents
Functions
- cb_ajax_update_requests() : mixed
- Handles HTTP PATCH requests to update requests entries.
- cb_ajax_new_requests() : mixed
- CB Ajax New Requests
- cb_ajax_get_requests() : mixed
- CB AJAX Get Requests
- cb_ajax_delete_requests() : int
- Deletes requests from the requests table.
Functions
cb_ajax_update_requests()
Handles HTTP PATCH requests to update requests entries.
cb_ajax_update_requests() : mixed
Processes standard and bulk requests updates from an HTTP PATCH request.
Tags
cb_ajax_new_requests()
CB Ajax New Requests
cb_ajax_new_requests() : mixed
We'll use this to process the new requests entries sent via ajax.
Tags
cb_ajax_get_requests()
CB AJAX Get Requests
cb_ajax_get_requests() : mixed
Our REST API handler for the endpoint at "/wp-json/cb-ajax/v1/requests/get"
Tags
cb_ajax_delete_requests()
Deletes requests from the requests table.
cb_ajax_delete_requests() : int
Tags
Return values
int —The number of rows affected, or false on failure.