Action hook fired after an address in the order customer details.
'billing', $order
Sortie :
@param string $address_type Type of address (billing or shipping). @param WC_Order $order Order object.
// Ajouter une fonction au hook action 'woocommerce_order_details_after_customer_address'
add_action('woocommerce_order_details_after_customer_address', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee('billing', $order) {
// Votre code ici
error_log('Hook woocommerce_order_details_after_customer_address déclenché');
}
Chargement des actualités...