NOTICE_CORRUPT_REST_API_ID
NOTICE_CORRUPT_REST_API_ID ='notice-corrupt-rest-api'
Create a base REST Service needed for boilerplate development. Please do not remove it.
SECURITY_PLUGINS_BLOCKING_REST_API =array('better-wp-security', 'all-in-one-wp-security-and-firewall', 'sucuri-scanner', 'anti-spam', 'wp-cerber', 'wp-simple-firewall', 'wp-hide-security-enhancer', 'bulletproof-security', 'disable-json-api', 'ninjafirewall', 'hide-my-wp', 'perfmatters', 'swift-performance', 'clearfy', 'password-protected', 'wp-rest-api-controller')
getCore(): \MatthiasWeb\Utils\PluginReceiver
Get core instance.
getUrl(string $instance,string $namespace = null,string $endpoint = ''): string
Get the wp-json URL for a defined REST service.
string | $instance | The plugin class instance, so we can determine the slug from |
string | $namespace | The prefix for REST service |
string | $endpoint | The path appended to the prefix |
Example: https://wordpress.org/wp-json
instance(\MatthiasWeb\Utils\PluginReceiver $core): \MatthiasWeb\Utils\Service
Get a new instance of Service.
\MatthiasWeb\Utils\PluginReceiver | $core |
__construct(\MatthiasWeb\Utils\PluginReceiver $core)
C'tor.
\MatthiasWeb\Utils\PluginReceiver | $core |