Skip to main content

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

NameTypeDescription
$argsarrayArray 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.

Ready to Get Started?

ClassifAI is a Free WordPress plugin that connects to your choice of AI platforms.