include product_id for extended customization of wc_add_to_cart_message
This commit is contained in:
parent
35228c8d9c
commit
df773f520e
|
@ -103,7 +103,7 @@ function wc_add_to_cart_message( $product_id ) {
|
|||
|
||||
endif;
|
||||
|
||||
wc_add_notice( apply_filters( 'wc_add_to_cart_message', $message ) );
|
||||
wc_add_notice( apply_filters( 'wc_add_to_cart_message', $message, $product_id ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue