wzkb_ai_allowed_origins
Filter the origins allowed to call the Ask the Docs endpoint.
Type: filter
Since: 3.2.0
Source: includes/pro/ai/class-rest.php line 193
Parameters
| Type | Name | Description |
|---|---|---|
string[] |
$allowed |
Allowed origins, as URLs. |
Usage
add_filter( 'wzkb_ai_allowed_origins', function($allowed) {
// ...
return $allowed;
} );