Filter: classifai_ . static::ID . rest_route . $route . _args
Filter the arguments for the REST route.
This allows for adding or modifying the arguments for the route. The filter name is dynamic and based on the route. Example: classifai_feature_image_generation_rest_route_generate-image_args
Parameters
| Name | Type | Description |
|---|---|---|
| $args | array | Array of arguments for the REST route. |
Since
- 3.0.0
Source
Defined in includes/Classifai/Features/ImageGeneration.php at line 89
Returns
Modified array of arguments.