Skip to content

Commit

Permalink
Ordering products by name ASC
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Moraes committed Oct 16, 2018
1 parent 3d32318 commit cf6473d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/config/wp/custom-endpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function my_custom_endpoint( $request_data ) {
$args = array(
'status' => 'publish',
'orderby' => 'name',
'order' => 'DESC',
'order' => 'ASC',
'posts_per_page' => -1,
'lang' => $lang
);
Expand Down

0 comments on commit cf6473d

Please sign in to comment.