WordPress at Your Fingertips
function is not described

wc_review_ratings_enabled() WC 3.6.0

Check if reviews ratings are enabled.

No Hooks.

Return

true|false.

Usage

wc_review_ratings_enabled();

Changelog

Since 3.6.0 Introduced.

Code of wc_review_ratings_enabled() WC 6.1.0

function wc_review_ratings_enabled() {
	return wc_reviews_enabled() && 'yes' === get_option( 'woocommerce_enable_review_rating' );
}