Skip to main content

fc_checkout_update_fields_selectors

Type: Filter

Filters the CSS selectors of fields that trigger a checkout update.

Signature​

apply_filters( 'fc_checkout_update_fields_selectors', $value );

Parameters​

NameTypeDescription
$valuearrayValue to filter.

Since​

  • 1.5.0

Source: inc/enqueue.php

Examples​

add_filter( 'fc_checkout_update_fields_selectors',
/**
* Add custom field selectors for checkout updates.
*
* @param array $value Value to filter.
* @return array Filtered value.
*/
function( $value ) {
$value[] = '.custom-field input';
return $value;
},
10
);