Skip to content

Commit

Permalink
Removing woo rest api parameter per_page
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Moraes committed Oct 15, 2018
1 parent 947552b commit 2141309
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions template-tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
$data = array(
'status' => 'publish',
'orderby' => 'date',
'order' => 'asc',
'per_page' => -1
'order' => 'asc'
);

$products = $woocommerce->get('products', $data);
Expand Down

0 comments on commit 2141309

Please sign in to comment.