From 80a1a64285b83fff82f7c81ee5eba6073048dc34 Mon Sep 17 00:00:00 2001 From: Khan M Rashedun-Naby Date: Tue, 15 May 2018 00:33:22 +0600 Subject: [PATCH] Else Removed --- includes/wc-order-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } /**