Modify the aggregateRating Property

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