WC_Product::set_review_count( int $count )

Set review count. Read only.


Description Description


Parameters Parameters

$count

(int) (Required) Product review count.


Top ↑

Source Source

File: includes/abstracts/abstract-wc-product.php

	public function set_review_count( $count ) {
		$this->set_prop( 'review_count', absint( $count ) );
	}

Top ↑

User Contributed Notes User Contributed Notes

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