\DevOwl\RealProductManagerWpClient\restPluginUpdate

Create plugin update REST service.

Summary

Methods
Properties
Constants
getPluginConstantPrefix()
setupConstants()
rest_api_init()
permission_callback()
routeGet()
routeSkip()
routePatch()
routeRetryLicense()
routeDeleteLicense()
routeDismissLicenseNotice()
instance()
No public properties found
No constants found
getResult()
No protected properties found
N/A
__construct()
No private properties found
N/A

Methods

getPluginConstantPrefix()

getPluginConstantPrefix(): string

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

Returns

string

setupConstants()

setupConstants()

Make sure the RPM_WP_CLIENT constants are available.

rest_api_init()

rest_api_init()

Register endpoints.

permission_callback()

permission_callback()

Check if user is allowed to call this service requests.

routeGet()

routeGet(\WP_REST_Request  $request)

See API docs.

Parameters

\WP_REST_Request $request

routeSkip()

routeSkip(\WP_REST_Request  $request)

See API docs.

Parameters

\WP_REST_Request $request

routePatch()

routePatch(\WP_REST_Request  $request)

See API docs.

Parameters

\WP_REST_Request $request

routeRetryLicense()

routeRetryLicense(\WP_REST_Request  $request)

See API docs.

Parameters

\WP_REST_Request $request

routeDeleteLicense()

routeDeleteLicense(\WP_REST_Request  $request)

See API docs.

Parameters

\WP_REST_Request $request

routeDismissLicenseNotice()

routeDismissLicenseNotice(\WP_REST_Request  $request)

See API docs.

Parameters

\WP_REST_Request $request

instance()

instance()

New instance.

getResult()

getResult(string  $slug)

Get result for a given slug.

Parameters

string $slug

__construct()

__construct()

C'tor.