APP_Review_Factory::create_user_review( int $recipient_id, object $comment, int $rating, array $meta = array() )

Creates a new user review object


Package


    Description Description


    Parameters Parameters

    $recipient_id

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

    $comment

    (object) (Required) The WP_Comment_Query array that will be used as the review object

    $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.