Confetti Bits

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
see
cb_get_patch_data()

for more info on how we handle PATCH requests.

since
2.3.0

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
since
2.2.0

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
since
2.3.0

cb_ajax_delete_requests()

Deletes requests from the requests table.

cb_ajax_delete_requests() : int
Tags
since
2.3.0
Return values
int

The number of rows affected, or false on failure.


        
On this page

Search results