APP_Review_Factory::make( object $comment )
Inserts a new comment as a review comment type and retrieves the new ID
Package
Description Description
Parameters Parameters
- $object_id
(int) (Required) The object ID (user_id or post_id) being reviewed
- $comment
(object) (Required) The WP_Comment_Query array that will be used as the review object
Return Return
(object) The review object