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


Top ↑

Return Return

(float) The calculated relative rating


Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

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