fc_no_validation_icon_field_types
Type: Filter
Filters the no validation icon field types.
Signature
apply_filters( 'fc_no_validation_icon_field_types', $types );
Parameters
| Name | Type | Description |
|---|---|---|
$types | array | List of values to filter. |
Since
1.5.0
Source: inc/checkout-validation.php
Examples
add_filter( 'fc_no_validation_icon_field_types',
/**
* Add custom field type to hide validation icons.
*
* @param array $types List of values to filter.
* @return array Filtered value.
*/
function( $types ) {
$types[] = 'custom_field_type';
return $types;
},
10
);