WordPress at Your Fingertips
function is not described

wc_review_ratings_required() WC 3.6.0

Check if review ratings are required.

No Hooks.

Return

true|false.

Usage

wc_review_ratings_required();

Changelog

Since 3.6.0 Introduced.

Code of wc_review_ratings_required() WC 6.1.1

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