Filter: classifai_feature_image_generation_roles

apply_filters( 'classifai_feature_image_generation_roles', $roles, $default_settings ) → {array}

Filter the allowed WordPress roles for image generation.

Parameters:
Name Type Description
$roles array

Array of arrays containing role information.

$default_settings array

Default setting values.

Since:
  • 2.3.0
Source:
Returns:

Roles array.

Type
array