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.

wc_review_ratings_required() code WC 9.0.1

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