\DevOwl\RealCookieBanner\restImport

Import / Export API

Summary

Methods
Properties
Constants
getPluginConstantPrefix()
rest_api_init()
permission_callback()
routeImport()
routeExport()
routeExportConsents()
instance()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
__construct()
No private properties found
N/A

Methods

getPluginConstantPrefix()

getPluginConstantPrefix(): string

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

Returns

string

rest_api_init()

rest_api_init()

Register endpoints.

permission_callback()

permission_callback()

Check if user is allowed to call this service requests.

routeImport()

routeImport(\WP_REST_Request  $request)

See API docs.

Parameters

\WP_REST_Request $request

routeExport()

routeExport(\WP_REST_Request  $request)

See API docs.

Parameters

\WP_REST_Request $request

routeExportConsents()

routeExportConsents(\WP_REST_Request  $request)

See API docs.

Parameters

\WP_REST_Request $request

instance()

instance()

New instance.

__construct()

__construct()

C'tor.