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_relative_rating( array $ratings )
Calculates relative rating by adding artifical neutral value
Package
Description Description
Parameters Parameters
- $ratings
(array) (Required) The ratings list
Return Return
(float) The calculated relative rating