wearerequired / rest-api-same-origin
WordPress plugin to limit the Access-Control-Allow-Origin header to only allowed origins.
Installs: 2 921
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=7.1
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-18 21:54:03 UTC
README
Limits Access-Control-Allow-Origin
for REST API access to only allowed origins by is_allowed_http_origin()
. By default this includes the home and site URLs.
Installation
If you're using Composer to manage dependencies, you can use the following command to add the plugin to your site:
composer require wearerequired/rest-api-same-origin