cb-ajax-request-items.php
Table of Contents
Functions
- cb_ajax_update_request_items() : mixed
- Handles HTTP PATCH request_items to update request_items entries.
- cb_ajax_new_request_items() : mixed
- CB Ajax New Request Items
- cb_ajax_delete_request_items() : int
- Deletes request items from the request items table.
- cb_ajax_get_request_items() : mixed
- CB AJAX Get Request_items
- cb_request_items_add_filler_data() : mixed
- Adds 5 request_items entries for testing purposes.
Functions
cb_ajax_update_request_items()
Handles HTTP PATCH request_items to update request_items entries.
cb_ajax_update_request_items() : mixed
Processes standard and bulk request_items updates from an HTTP PATCH request.
Tags
cb_ajax_new_request_items()
CB Ajax New Request Items
cb_ajax_new_request_items() : mixed
We'll use this to process the new request_items entries sent via ajax.
Tags
cb_ajax_delete_request_items()
Deletes request items from the request items table.
cb_ajax_delete_request_items() : int
Tags
Return values
int —The number of rows affected, or false on failure.
cb_ajax_get_request_items()
CB AJAX Get Request_items
cb_ajax_get_request_items() : mixed
Our REST API handler for the endpoint at "/wp-json/cb-ajax/v1/request_items/get"
Tags
cb_request_items_add_filler_data()
Adds 5 request_items entries for testing purposes.
cb_request_items_add_filler_data() : mixed