learndash_course_reviews_get_user_review( int $course_id, string $email_address = '' )
Checks if the given Email Address has submitted a Review before for a given Course.
Description #
If no Email Address is defined, then the currently logged in User will be used.
Parameters #
- $course_id
-
(int) (Required) Course ID.
- $email_address
-
(string) (Optional) Email Address.
Default value: ''
Return #
(int|false) Comment ID or false if not found.
Source #
File: includes/course-reviews/core/learndash-course-reviews-functions.php
Changelog #
| Version | Description |
|---|---|
| 4.25.1 | Introduced. |