Announcement
    
            
            in package
            
        
    
    
            
            Uses
                            UtilsProvider                    
    
Create announcement 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.
- routeActive() : mixed
- See API docs.
- routeDeleteView() : 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
stringinstance()
New instance.
    public
            static        instance() : mixed
    Tags
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
    routeActive()
See API docs.
    public
                    routeActive(WP_REST_Request $request) : mixed
    APIYes
        Parameters
- $request : WP_REST_Request
Tags
routeDeleteView()
See API docs.
    public
                    routeDeleteView(WP_REST_Request $request) : mixed
    APIYes
        Parameters
- $request : WP_REST_Request
Tags
setupConstants()
Make sure the RPM_WP_CLIENT constants are available.
    public
            static        setupConstants() : mixed
    __construct()
C'tor.
    private
                    __construct() : mixed