Forwarding
in package
Uses
UtilsProvider
Handle consent forwarding REST services.
Table of Contents
Constants
- ENDPOINT_CONSENT_FORWARD = 'consent/forward'
Methods
- getPluginConstantPrefix() : string
- Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
- instance() : mixed
- New instance.
- permission_callback() : mixed
- Check if user is allowed to call this service requests.
- rest_api_init() : mixed
- Register endpoints.
- routeGetEndpoints() : mixed
- See API docs.
- routeGetUniqueCookie() : mixed
- See API docs.
- routePost() : mixed
- See API docs.
- __construct() : mixed
- C'tor.
Constants
ENDPOINT_CONSENT_FORWARD
public
mixed
ENDPOINT_CONSENT_FORWARD
= 'consent/forward'
Methods
getPluginConstantPrefix()
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
public
getPluginConstantPrefix() : string
Tags
Return values
stringinstance()
New instance.
public
static instance() : mixed
permission_callback()
Check if user is allowed to call this service requests.
public
permission_callback() : mixed
rest_api_init()
Register endpoints.
public
rest_api_init() : mixed
routeGetEndpoints()
See API docs.
public
routeGetEndpoints(WP_REST_Request $request) : mixed
APIYes
Parameters
- $request : WP_REST_Request
Tags
routeGetUniqueCookie()
See API docs.
public
routeGetUniqueCookie(WP_REST_Request $request) : mixed
APIYes
Parameters
- $request : WP_REST_Request
Tags
routePost()
See API docs.
public
routePost(WP_REST_Request $request) : mixed
APIYes
Parameters
- $request : WP_REST_Request
Tags
__construct()
C'tor.
private
__construct() : mixed