Skip to content

3.2.0

Compare
Choose a tag to compare
@willvincent willvincent released this 29 Jun 14:52
· 3 commits to master since this release
9ea34cf

New in 3.2.0

A pull request from @metaversedataman adds the following:

  • userAverageRating() and userSumRating() accept an optional user id,
    adding the ability to display arbitrary users' ratings, not just those of the currently authenticated user.
  • ratingPercent() accepts an optional second parameter, $rounded (boolean, defaults to false),
    when true the returned value will be rounded up to the nearest integer with ceil()