This plugin is outdated and might not be supported anymore
WP-CORS

WP-CORS

Details
View on WordPress

My use case is to allow content authors to write help pages in WordPress.
This content is fetched and embedded into a single page application hosted on another domain.

AJAX requests to this site from another are typically disallowed by the browser’s security model.
To permit legitimate uses the requesting browser may include an Origin header containing its domain.
This plugin uses the Origin header to decide whether to allow the request or not.
Allowed domains can be specified in the plugin’s Settings page.

Details

Plugin code:
wp-cors
Plugin version:
0.2.2
Outdated:
Yes
WP version:
3.6 or higher
PHP version:
or higher
Test up to WP version:
6.2.6
Total installations:
1,000
Last updated:
2023-07-28
Rating:
Times rated:
3
ajax
cors
rest