| 开发者 | vladwtz |
|---|---|
| 更新时间 | 2026年11月23日 20:07 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Tutor LMS plugin installed and activated.reviews-tutor-lms folder to the /wp-content/plugins/ directory, or install the plugin from the Plugins > Add New screen.Any user with the manage_tutor_instructor capability. By default, that means administrators and Tutor LMS instructors.
This is a Tutor LMS setting. Go to Tutor LMS > Settings > Course and enable Publish Course Review on Admin's Approval. New reviews will then be saved as Pending and you can approve them from Tutor LMS > Reviews.
No. The review form, the review pop-up shown after a course is completed and the way reviews are saved all come from Tutor LMS. This plugin only adds the moderation screen in the admin.
This usually happens when logged-in users see cached pages. The review is saved and Tutor LMS stops showing the pop-up, but the student is still served a cached copy of the page that contains it.
If you use LiteSpeed Cache with Cache Logged-in Users enabled, you can either turn that setting off, or purge the student's private cache when they submit or dismiss a review. Add this snippet to your theme's functions.php file or to a code snippets plugin:
/*
* Purge the current student's LiteSpeed private cache after they
* submit or dismiss a Tutor LMS course review.
/
function rtl_purge_litespeed_private_cache() {
do_action( 'litespeed_purge_private_all' );
}
// After a new review is saved.
add_action( 'tutor_after_rating_placed', 'rtl_purge_litespeed_private_cache' );
// When the review pop-up is closed without leaving a review.
add_action( 'wp_ajax_tutor_clear_review_popup_data', 'rtl_purge_litespeed_private_cache', 1 );
Other caching plugins have similar settings. Make sure course and lesson pages are not cached for logged-in users, or that their cache is cleared after a review is submitted.
Thanks to a user of the plugin for finding the cause and sharing the original snippet.
I use and appreciate the Tutor LMS plugin, but decent functionality should have included review management in the free version. Anyone who needs Tutor LMS and course reviews can use this module that implements their management simply and affordably.
The plugin is hosted on GitHub, where it is developed and maintained. Bug reports and pull requests are welcome.
Open a topic on the support forum. If the plugin is useful to you, a review is much appreciated.