diff --git a/inc/woocommerce.php b/inc/woocommerce.php index f894256..c858df8 100644 --- a/inc/woocommerce.php +++ b/inc/woocommerce.php @@ -139,7 +139,7 @@ if ( ! function_exists( 'understrap_wc_form_field_args' ) ) { } } -if ( ! function_exists( 'wc_review_ratings_enabled' ) ) { +if ( ! is_admin() && ! function_exists( 'wc_review_ratings_enabled' ) ) { /** * Check if reviews are enabled. *