WordPress at a glance
function is not described

wc_reviews_enabled() WC 3.6.0

Check if reviews are enabled.

No Hooks.

Return

true|false. Nothing.

Usage

wc_reviews_enabled();

Changelog

Since 3.6.0 Introduced.

Code of wc_reviews_enabled() WC 5.3.0

<?php
function wc_reviews_enabled() {
	return 'yes' === get_option( 'woocommerce_enable_reviews' );
}