\DevOwl\RealProductManagerWpClient\clientAnnouncement

Handle Real Product Manager API calls.

Summary

Methods
Properties
Constants
getPluginConstantPrefix()
setupConstants()
get()
postView()
getPluginUpdate()
instance()
No public properties found
ENDPOINT_ANNOUNCEMENT
ENDPOINT_ANNOUNCEMENT_VIEW
No protected methods found
No protected properties found
N/A
__construct()
$pluginUpdate
N/A

Constants

ENDPOINT_ANNOUNCEMENT

ENDPOINT_ANNOUNCEMENT ='1.0.0/announcement'

ENDPOINT_ANNOUNCEMENT_VIEW

ENDPOINT_ANNOUNCEMENT_VIEW ='1.0.0/announcement/view'

Properties

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.

get()

get()

`GET` to the REST API of Real Product Manager.

postView()

postView(integer  $id,string  $uuid)

`POST` to the REST API of Real Product Manager.

Parameters

integer $id

Announcement id

string $uuid

User IDs

getPluginUpdate()

getPluginUpdate()

Get plugin update instance.