Consent
in package
Uses
UtilsProvider
Consent API
Table of Contents
Constants
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.
- routeDelete() : mixed
- See API docs.
- routeDeleteAll() : mixed
- See API docs.
- routeDeleteClear() : mixed
- See API docs.
- routeGet() : mixed
- See API docs.
- routeGetAll() : mixed
- See API docs.
- routeGetAllReferer() : mixed
- See API docs.
- routePost() : mixed
- See API docs.
- routePostDynamicPredecision() : mixed
- See API docs.
- __construct() : mixed
- C'tor.
Constants
CONSENT_ALL_ITEMS_PER_PAGE
public
mixed
CONSENT_ALL_ITEMS_PER_PAGE
= 10
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
routeDelete()
See API docs.
public
routeDelete(WP_REST_Request $request) : mixed
APIYes
Parameters
- $request : WP_REST_Request
Tags
routeDeleteAll()
See API docs.
public
routeDeleteAll() : mixed
APIYes
Tags
routeDeleteClear()
See API docs.
public
routeDeleteClear(WP_REST_Request $request) : mixed
APIYes
Parameters
- $request : WP_REST_Request
Tags
routeGet()
See API docs.
public
routeGet(WP_REST_Request $request) : mixed
APIYes
Parameters
- $request : WP_REST_Request
Tags
routeGetAll()
See API docs.
public
routeGetAll(WP_REST_Request $request) : mixed
APIYes
Parameters
- $request : WP_REST_Request
Tags
routeGetAllReferer()
See API docs.
public
routeGetAllReferer(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
routePostDynamicPredecision()
See API docs.
public
routePostDynamicPredecision(WP_REST_Request $request) : mixed
APIYes
Parameters
- $request : WP_REST_Request
Tags
__construct()
C'tor.
private
__construct() : mixed