WordPress at a glance
function is not described

wc_review_ratings_required() WC 3.6.0

Check if review ratings are required.

No Hooks.

Return

true|false. Nothing.

Usage

wc_review_ratings_required();

Changelog

Since 3.6.0 Introduced.

Code of wc_review_ratings_required() WC 5.3.0

<?php
function wc_review_ratings_required() {
	return 'yes' === get_option( 'woocommerce_review_rating_required' );
}