Order statuses valid for Order Again

This commit is contained in:
terence1990 2016-09-05 17:25:17 +01:00
parent ca44110f3d
commit 8b838c88a8
1 changed files with 1 additions and 1 deletions

View File

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