Merge pull request #8433 from adnanoner/master

add $args to woocommerce_refund_created action hook
This commit is contained in:
Claudio Sanches 2015-06-22 13:09:35 -03:00
commit b3111a6631
1 changed files with 1 additions and 1 deletions

View File

@ -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