diff --git a/includes/class-wc-auth.php b/includes/class-wc-auth.php index 105c9353569..b6754497b69 100644 --- a/includes/class-wc-auth.php +++ b/includes/class-wc-auth.php @@ -319,10 +319,6 @@ class WC_Auth { $consumer_data = array(); try { - if ( 'yes' !== get_option( 'woocommerce_api_enabled' ) ) { - throw new Exception( __( 'API disabled!', 'woocommerce' ) ); - } - $route = strtolower( wc_clean( $route ) ); $this->make_validation();