Merge pull request #8433 from adnanoner/master
add $args to woocommerce_refund_created action hook
This commit is contained in:
commit
b3111a6631
|
@ -726,7 +726,7 @@ function wc_create_refund( $args = array() ) {
|
|||
do_action( 'woocommerce_order_partially_refunded', $args['order_id'], true, $refund_id );
|
||||
}
|
||||
|
||||
do_action( 'woocommerce_refund_created', $refund_id );
|
||||
do_action( 'woocommerce_refund_created', $refund_id, $args );
|
||||
}
|
||||
|
||||
// Clear transients
|
||||
|
|
Loading…
Reference in New Issue