Skip to main content

fc_save_new_address_data_shipping_skip_update

Type: Filter

Filters the save new address data shipping skip update.

Signature​

apply_filters( 'fc_save_new_address_data_shipping_skip_update', $skip, $posted_data );

Parameters​

NameTypeDescription
$skipboolWhether to skip the default behavior. Default false.
$posted_dataarrayParsed posted checkout data.

Since​

  • 3.1.0

Source: inc/checkout-steps.php

Examples​

add_filter( 'fc_save_new_address_data_shipping_skip_update',
/**
* Skip updating shipping 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;
},
10,
2
);