Documentation

Feedback
in package
Uses UtilsProvider

Create feedback REST service.

Table of Contents

Methods

getPluginConstantPrefix()  : string
Get the prefix of this package so we can utils package natively.
instance()  : mixed
New instance.
permission_callback()  : mixed
Check if user is allowed to call this service requests.
rest_api_init()  : mixed
Register endpoints.
routePost()  : mixed
See API docs.
setupConstants()  : mixed
Make sure the RPM_WP_CLIENT constants are available.
__construct()  : mixed
C'tor.

Methods

getPluginConstantPrefix()

Get the prefix of this package so we can utils package natively.

public getPluginConstantPrefix() : string
Return values
string

instance()

New instance.

public static instance() : mixed
Tags
codeCoverageIgnore

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

routePost()

See API docs.

public routePost(WP_REST_Request $request) : mixed
APIYes
Parameters
$request : WP_REST_Request
Tags
apiHeader

{string} X-WP-Nonce

apiParam

{string} slug

apiParam

{string} reason

apiParam

{boolean} [skip] If true, use other in reason parameter

apiParam

{string} [note]

apiParam

{string} [email]

apiParam

{string} [name]

apiParam

{boolean} [deactivateLicense]

apiName

Create

apiPermission

activate_plugins

apiGroup

Feedback

apiVersion

1.0.0

setupConstants()

Make sure the RPM_WP_CLIENT constants are available.

public static setupConstants() : mixed

__construct()

C'tor.

private __construct() : mixed
Tags
codeCoverageIgnore

        
On this page

Search results