apply_filters( 'learndash_course_reviews_show_review_form', bool $show, int $course_id, bool $has_started_course, int|false $has_reviewed )
Filter to show the Review Form on a given Course.
Description #
Parameters #
- $show
-
(bool) Show or not. Defaults to true.
- $course_id
-
(int) Course ID.
- $has_started_course
-
(bool) Whether the User has started the Course.
- $has_reviewed
-
(int|false) Whether the User has already reviewed this Course. Comment ID if they have, false if they have not.
Return #
(bool)
Source #
Changelog #
| Version | Description |
|---|---|
| 4.25.1 | Introduced. |