Gets the value either from POST, or from the customer object. Sets the default values in checkout fields.
null, $input
Sortie :
@param string $input Name of the input we want to grab data for. e.g. billing_country. @return string The default value.
// Modifier la valeur avec le filtre 'woocommerce_checkout_get_value'
add_filter('woocommerce_checkout_get_value', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(null) {
// Modifier la valeur
return null;
}
Chargement des actualités...