diff --git a/includes/wc-order-functions.php b/includes/wc-order-functions.php index dd9a83bfe99..63664939b1e 100644 --- a/includes/wc-order-functions.php +++ b/includes/wc-order-functions.php @@ -229,9 +229,9 @@ function wc_get_order_type( $type ) { if ( isset( $wc_order_types[ $type ] ) ) { return $wc_order_types[ $type ]; - } else { - return false; } + + return false; } /**