BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
wp-content
/
plugins
/
really-simple-ssl
/
core
/
app
/
Interfaces
📤 Upload
📝 New File
📁 New Folder
Close
Editing: SingleEndpointInterface.php
<?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; }
Save
Cancel