Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Defines field keys to skip validating to determine if the sub-step is complete.
Modifiers #
{substep_id}(string) Sub-step ID for which the fields skip list will be applied. For instance:shipping_address,billing_address, or any other registered sub-step.
Parameters #
$skip_field_keys(array) Array of field keys to skip validating to determine if the sub-step is complete.
Examples #
/**
* Change the list of fields to skip validating to determine whether the sub-step is complete or not.
*/
function change_billing_address_field_keys_skip_list( $skip_field_keys ) {
$skip_field_keys[] = 'billing_address_2';
return $skip_field_keys;
}
add_filter( 'fc_is_substep_complete_billing_address_field_keys_skip_list', 'change_billing_address_field_keys_skip_list', 10 );
