This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Advanced_Product_Review::update_voted_status( int $user_id, int $review_id, bool $has_voted = true )

Method to update current user review votes.


Parameters

$user_id

(Required) The user ID.

$review_id

(Required) The review ID.

$has_voted

(Optional) Flag to specify if user has voted.

Default value: true


Source

File: includes/modules/woocommerce_booster/advanced_product_review/advanced_product_review.php