Home / Disable / Require a comments with rating
Duplicate Snippet

Embed Snippet on Your Site

Require a comments with rating

Return the number of the rating that should not require a comment.

<10
Code Preview
php
<?php
add_filter(
	'tasty_recipes_min_rating_without_comment',
	function() {
		return 6; // Require comments for 4 and 5 star ratings too.
	}
);

Comments

Add a Comment