Skip to content

Instantly share code, notes, and snippets.

@danielpowney
Created October 26, 2017 21:54
Show Gist options
  • Save danielpowney/eef317f6b902bfd8c1b9d08d6d88fd21 to your computer and use it in GitHub Desktop.
Save danielpowney/eef317f6b902bfd8c1b9d08d6d88fd21 to your computer and use it in GitHub Desktop.
<?php
$q1 = new WP_Query( array(
'meta_key' => 'mrp_rating_result_1_star_rating',
'orderby' => 'meta_value',
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment