cb-ajax-participation.php
Table of Contents
Functions
- cb_ajax_update_participation() : mixed
- Handles HTTP PATCH requests to update participation entries.
- cb_ajax_new_participation() : mixed
- CB Ajax New Participation
- cb_ajax_get_participation() : mixed
- CB AJAX Get Participation
- cb_participation_add_filler_data() : mixed
- Adds 5 participation entries for testing purposes.
Functions
cb_ajax_update_participation()
Handles HTTP PATCH requests to update participation entries.
cb_ajax_update_participation() : mixed
Processes standard and bulk participation updates from an HTTP PATCH request.
Tags
cb_ajax_new_participation()
CB Ajax New Participation
cb_ajax_new_participation() : mixed
We'll use this to process the new participation entries sent via ajax.
Tags
cb_ajax_get_participation()
CB AJAX Get Participation
cb_ajax_get_participation() : mixed
Our REST API handler for the endpoint at "/wp-json/cb-ajax/v1/participation/get"
Tags
cb_participation_add_filler_data()
Adds 5 participation entries for testing purposes.
cb_participation_add_filler_data() : mixed