Skip to content

Commit

Permalink
Use var to pass to pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark committed Aug 28, 2024
1 parent a749bce commit 6274a8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/Pods.php
Original file line number Diff line number Diff line change
Expand Up @@ -3422,6 +3422,8 @@ public function pagination( $params = null ) {
$pagination = 'advanced';
}

$wrap_pagination = (bool) $params->wrap_pagination;

ob_start();

pods_view( PODS_DIR . 'ui/front/pagination/' . $pagination . '.php', compact( array_keys( get_defined_vars() ) ) );
Expand Down

0 comments on commit 6274a8e

Please sign in to comment.