Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
plugins
/
really-simple-ssl
/
core
/
app
/
Interfaces
:
SingleEndpointInterface.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare(strict_types=1); namespace ReallySimplePlugins\RSS\Core\Interfaces; interface SingleEndpointInterface { /** * The route name to register. Will be used as the array key for routes * array in: {@see EndpointManager::registerWordPressRestRoutes} */ public function registerRoute(): string; /** * Arguments you can use are documented wih filter: rss_core_rest_routes * in method: {@see EndpointManager::getPluginRoutes} */ public function registerArguments(): array; /** * This method should return true if the endpoint is enabled, false * otherwise. Endpoint will not be registered if this method returns false: * {@see EndpointManager::registerEndpoints} */ public function enabled(): bool; }