How to disable the Website and Email Fields in the review form

Reviews are built off of the standard comment form. You can therefore disable some of the fields within the review form such as the website and email fields by adding the following codes within the functions.php file of your child theme respectively:

function remove_review_fields($fields) {
    return $fields;
add_filter('comment_form_default_fields', 'remove_review_fields',999);

Was this article helpful?

Related Articles