fc_thwcfe_clear_field_keys_skip_list
Type: Filter
Filters the thwcfe clear field keys skip list.
Signature
apply_filters( 'fc_thwcfe_clear_field_keys_skip_list', $skip );
Parameters
| Name | Type | Description |
|---|---|---|
$skip | array | Whether to skip the default behavior. |
Since
2.0.7
Source: inc/compat/plugins/compat-plugin-woocommerce-checkout-field-editor-pro.php
Examples
add_filter( 'fc_thwcfe_clear_field_keys_skip_list',
/**
* Add custom field keys to skip when clearing THWCFE fields.
*
* @param array $skip Whether to skip the default behavior.
* @return array Filtered value.
*/
function( $skip ) {
$skip[] = 'billing_custom_field';
$skip[] = 'shipping_custom_field';
return $skip;
},
10
);