APP_Review_Factory::set_post_review( int $comment_id, int $rating, array $meta = array() )
Sets an existing WP comment as a review object and retrieves it
Package
Description Description
Parameters Parameters
- $comment_id
(int) (Required) The WordPress comment ID
- $rating
(int) (Required) The review rating
- $meta
(array) (Optional) (optional) Additional meta to be added to the review object.
Default value: array()
Return Return
(object) The review object