APP_Review_Factory::set_user_review( int $recipient_id, int $comment_id, int $rating, array $meta = array() )

Sets an existing WP_Comment_Query array as a review object and retrieves it


Package


    Description Description


    Parameters Parameters

    $recipient_id

    (int) (Required) The user ID that is receiving the review

    $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()


    Top ↑

    Return Return

    (object) The review object


    Premium WordPress Apps

    Top ↑

    User Contributed Notes User Contributed Notes

    You must log in before being able to contribute a note or feedback.