Filter: classifai_{$feature}_sanitize_settings

apply_filters( 'classifai_{$feature}_sanitize_settings', $new_settings, $current_settings ) → {array}

Filter to change settings before they're saved.

Parameters:
Name Type Description
$new_settings array

Settings being saved.

$current_settings array

Existing settings.

Since:
  • 3.0.0
Source:
Returns:

Filtered settings.

Type
array