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.
APP_Review_Collection::_calc_avg_rating( array $ratings )
Calculates and retrieves the collection average rating
Package
Description Description
Parameters Parameters
- $ratings
(array) (Required) The ratings list
Return Return
(float) The calculated average rating