Order statuses valid for Order Again
This commit is contained in:
parent
ca44110f3d
commit
8b838c88a8
|
@ -602,7 +602,7 @@ class WC_Form_Handler {
|
|||
return;
|
||||
}
|
||||
|
||||
if ( ! $order->has_status( 'completed' ) ) {
|
||||
if ( ! $order->has_status( apply_filters( 'woocommerce_valid_order_statuses_for_order_again', array('completed') ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue