Manage Reviews Approval

In WPLMS quiz answers, assignments and reviews are saved as comments. But if you want to approve comments before publishing on course then there is an alternative for this without affecting the quiz answers ad assignments.

Go to wp-admin > Plugins > Editor > Select WPLMS Customizer Plugin > wplms-customizer.php

add_filter('option_comment_moderation', 'check_moderable_post_types');

function check_moderable_post_types($value) {

if (get_post_type() == 'unit') return 1;

return $value;

}

This will give you the option to approve the comments of units. All the comments on units will be moved in pending section

Leave a Reply

Your email address will not be published. Required fields are marked *