Modify the aggregateRating Property

The WPSSO JSON Premium add-on fattempts to detect aggregate rating values for supported e-Commerce products like WooCommerce. If your theme or another 3rd party plugin provides custom fields (aka post meta) for aggregate ratings, you may hook a WPSSO JSON Premium filter to modify the default values. Here’s an example using the ‘average_review’ and ‘count_review’ post meta.