apply_filters( 'classifai_{feature}_roles', $roles, $default_settings ) → {array}
Filter the allowed WordPress roles for a feature.
Parameters:
Name | Type | Description |
---|---|---|
$roles |
array | Array of arrays containing role information. |
$default_settings |
array | Default setting values. |
- Since:
- 3.0.0
- Source:
Returns:
Roles array.
- Type
- array