Looking to sort your Post Type or Taxonomy Archive Posts by rating? See the Settings Documentation. The below code changes are only needed for advanced integrations by developers.
For developers who wish to get an array of Posts ordered by rating, highest to lowest, the below code can be used:
Parameter | Accepted Value | Description |
---|---|---|
$args | array | WP_Query compatible arguments. |