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

Creates and retrives an new post review object


Package


    Description Description


    Parameters Parameters

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