learndash_course_reviews_add_review( array $args )
Creates a Review based on passed Args.
Description #
Parameters #
- $args
-
(<span class="array">array) (Required) wp_insert_comment() args, with the addition of our own.
Return #
(int|false|WP_Error) Integer on success, False on not logged in, WP_Error on failure.
Source #
File: includes/course-reviews/core/learndash-course-reviews-functions.php
Changelog #
| Version | Description |
|---|---|
| 4.25.1 | Introduced. |