Import
in package
Uses
UtilsProvider
Import / Export API
Table of Contents
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.
- routeExport() : mixed
- See API docs.
- routeExportConsents() : mixed
- See API docs.
- routeImport() : mixed
- See API docs.
- __construct() : mixed
- C'tor.
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
routeExport()
See API docs.
public
routeExport(WP_REST_Request $request) : mixed
APIYes
Parameters
- $request : WP_REST_Request
Tags
routeExportConsents()
See API docs.
public
routeExportConsents(WP_REST_Request $request) : mixed
APIYes
Parameters
- $request : WP_REST_Request
Tags
routeImport()
See API docs.
public
routeImport(WP_REST_Request $request) : mixed
APIYes
Parameters
- $request : WP_REST_Request
Tags
__construct()
C'tor.
private
__construct() : mixed