Skip to content

Settings_REST_Controller

github-actions[bot] edited this page Aug 26, 2024 · 12 revisions

Settings_REST_Controller

Settings Endpoint

  • Full name: \CourierNotices\Controller\Settings_REST_Controller

Methods

register_actions

Register all actions for status cake integration

public register_actions(): mixed

register_routes

Add routes

public register_routes(): mixed

permissions

Check request permissions

public permissions(): bool

update_settings

Update settings

public update_settings(\WP_REST_Request $request): string

Parameters:

Parameter Type Description
$request \WP_REST_Request The request.

get_settings

Get settings via API

public get_settings(\WP_REST_Request $request): string

Parameters:

Parameter Type Description
$request \WP_REST_Request The request.


Automatically generated on 2024-08-26

Clone this wiki locally