Confetti Bits

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

for more info on how we handle PATCH requests.

TODO:

Add event_id for Events component compatibility

since
2.2.0

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

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

cb_participation_add_filler_data()

Adds 5 participation entries for testing purposes.

cb_participation_add_filler_data() : mixed
Tags
since
2.3.0

        
On this page

Search results