fc_save_new_address_data_billing_skip_update
Type: Filter
Filters the save new address data billing skip update.
Signature
apply_filters( 'fc_save_new_address_data_billing_skip_update', $skip, $posted_data );
Parameters
| Name | Type | Description |
|---|---|---|
$skip | bool | Whether to skip the default behavior. Default false. |
$posted_data | array | Parsed posted checkout data. |
Since
1.5.3
Source: inc/checkout-steps.php
Examples
add_filter( 'fc_save_new_address_data_billing_skip_update',
/**
* Skip updating billing address data.
*
* @param bool $skip Whether to skip the default behavior. Default false.
* @param array $posted_data Parsed posted checkout data.
* @return bool Filtered value.
*/
function( $skip, $posted_data ) {
return true; // Skip the update
},
10,
2
);