If set, get the default attributes for a variable product.
$this->get_default_attributes(
Sortie :
@return array
// Modifier la valeur avec le filtre 'woocommerce_product_default_attributes'
add_filter('woocommerce_product_default_attributes', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($this->get_default_attributes() {
// Modifier la valeur
return $this->get_default_attributes(;
}
Chargement des actualités...