APP_Single_Review
Represents a single review derived from a WordPress comment object
Package
Description Description
Methods Methods
- __construct — Sets up a review object
- __get — Magic method to retrieve data from inaccessible properties
- approve — Approves/disaproves a review.
- cancel — Cancels a review.
- delete_meta — Removes a single meta value from the review public metadata.
- get_author_ID — Retrieves the reviewer user id
- get_comment — Retrieves the review inherited comment object
- get_content — Retrieves the review content
- get_data — Retrieves specific or all comment review data
- get_date — Retrieves the review comment
- get_id — Retrieves the review ID
- get_meta — Retrieves specific or all review metadata
- get_post_ID — Retrieves the review post id
- get_rating — Retrieves the review rating
- get_recipient_id — Retrieves the review recipient ID
- get_type — Retrieves the review type: user | post
- is_approved — Returns the review approvement status
- set_meta — Sets the review meta
- set_rating — Sets the review rating
- set_recipient — Sets the review recipient ID
- set_type — Sets the review type
- update_meta — Updates/adds values to the main serialized meta key (default) or in a separate meta key.