Hook to display custom attribute terms.
$attribute, $i
Sortie :
@param WC_Product_Attribute $attribute Attribute object. @param int $i Attribute index.
// Ajouter une fonction au hook action 'woocommerce_after_product_attribute_settings'
add_action('woocommerce_after_product_attribute_settings', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($attribute, $i) {
// Votre code ici
error_log('Hook woocommerce_after_product_attribute_settings déclenché');
}
Chargement des actualités...