Skip to content

Commit df773f5

Browse files
committed
include product_id for extended customization of wc_add_to_cart_message
1 parent 35228c8 commit df773f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

includes/wc-cart-functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function wc_add_to_cart_message( $product_id ) {
103103

104104
endif;
105105

106-
wc_add_notice( apply_filters( 'wc_add_to_cart_message', $message ) );
106+
wc_add_notice( apply_filters( 'wc_add_to_cart_message', $message, $product_id ) );
107107
}
108108

109109
/**

0 commit comments

Comments
 (0)