rest_send_cors_headers
rest_send_cors_headers ( $value )
Parameters:- (mixed) value Response data.
Returns:Defined at: - Introduced in WordPress: 4.4.0
- Deprecated in WordPress: —
Description
Sends Cross-Origin Resource Sharing headers with API requests.