Feedback
in package
Uses
UtilsProvider
Handle Real Product Manager API calls.
Table of Contents
Constants
- ENDPOINT_DEACTIVATION_FEEDBACK = '1.0.0/deactivation-feedback'
Properties
- $pluginUpdate : PluginUpdate
- PluginUpdate instance.
Methods
- getPluginConstantPrefix() : string
- Get the prefix of this package so we can utils package natively.
- getPluginUpdate() : mixed
- Get plugin update instance.
- instance() : mixed
- New instance.
- post() : mixed
- `POST` to the REST API of Real Product Manager.
- setupConstants() : mixed
- Make sure the RPM_WP_CLIENT constants are available.
- __construct() : mixed
- C'tor.
Constants
ENDPOINT_DEACTIVATION_FEEDBACK
public
mixed
ENDPOINT_DEACTIVATION_FEEDBACK
= '1.0.0/deactivation-feedback'
Properties
$pluginUpdate
PluginUpdate instance.
private
PluginUpdate
$pluginUpdate
Methods
getPluginConstantPrefix()
Get the prefix of this package so we can utils package natively.
public
getPluginConstantPrefix() : string
Return values
stringgetPluginUpdate()
Get plugin update instance.
public
getPluginUpdate() : mixed
Tags
instance()
New instance.
public
static instance(PluginUpdate $pluginUpdate) : mixed
Parameters
- $pluginUpdate : PluginUpdate
Tags
post()
`POST` to the REST API of Real Product Manager.
public
post(string $reason, string $note, string $email, string $name) : mixed
Parameters
- $reason : string
- $note : string
- $email : string
- $name : string
setupConstants()
Make sure the RPM_WP_CLIENT constants are available.
public
static setupConstants() : mixed
__construct()
C'tor.
private
__construct(PluginUpdate $pluginUpdate) : mixed
Parameters
- $pluginUpdate : PluginUpdate