cb-ajax-functions.php
Table of Contents
Functions
- cb_ajax_register_rest_route() : mixed
- Dynamically registers a REST route.
- cb_setup_gh_commit_notifications() : mixed
- Adds a REST endpoint so we can send out updates to the team with each commit.
- cb_handle_gh_commits() : mixed
Functions
cb_ajax_register_rest_route()
Dynamically registers a REST route.
cb_ajax_register_rest_route([string $component = '' ]) : mixed
Parameters
- $component : string = ''
-
The component to register a route for.
Tags
cb_setup_gh_commit_notifications()
Adds a REST endpoint so we can send out updates to the team with each commit.
cb_setup_gh_commit_notifications() : mixed
cb_handle_gh_commits()
cb_handle_gh_commits(WP_REST_Request $request) : mixed
Parameters
- $request : WP_REST_Request