Merge pull request #8559 from maxrice/patch-1
Introduce woocommerce_order_full_refunded_status filter
This commit is contained in:
commit
589faffd89
|
@ -2211,7 +2211,7 @@ class WC_AJAX {
|
|||
}
|
||||
|
||||
if ( $refund_amount == $max_refund ) {
|
||||
$order->update_status( 'refunded' );
|
||||
$order->update_status( apply_filters( 'woocommerce_order_fully_refunded_status', 'refunded', $order_id, $refund->id ) );
|
||||
$response_data['status'] = 'fully_refunded';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue