Filter: classifai_allowed_roles

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

Filter the allowed WordPress roles for ClassifAI

Parameters:
Name Type Description
$roles array

Array of arrays containing role information.

$option_name string

Option name.

$default_settings array

Default setting values.

Since:
  • 2.4.0
Source:
Returns:

Roles array.

Type
array