apply_filters( 'classifai_{feature}_rest_route_{route}_args', $args ) → {array}
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:
Returns:
Modified array of arguments.
- Type
- array