apply_filters( 'mc_setup_allowed_sites', $allowed, $origin ) → {array}
Filter what sites are allowed CORS access.
Parameters:
Name | Type | Description |
---|---|---|
$allowed |
array | URLs permitted access. Default empty array. |
$origin |
string | HTTP origin passed. |
- Source:
Returns:
- Type
- array