Skip to content

Commit

Permalink
skip counting the total rows
Browse files Browse the repository at this point in the history
  • Loading branch information
kermage committed May 30, 2022
1 parent 7b62d88 commit bdfc332
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/Sort.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public function create() {
$args = array(
'post_type' => $type,
'post_status' => 'any',
'no_found_rows' => true,
'posts_per_page' => $limit,
'tax_query' => array(),
);
Expand Down

0 comments on commit bdfc332

Please sign in to comment.