PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / trunk
Pods – Custom Content Types and Fields vtrunk
trunk 1.14.8 2.7.31.3 2.8.23.3 2.9.19.3 3.0.10.3 3.1.4.1 3.2.0 3.2.1 3.2.1.1 3.2.2 3.2.4 3.2.5 3.2.6 3.2.7 3.2.7.1 3.2.8 3.2.8.1 3.2.8.2 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9
pods / ui / front / pagination / list.php
pods / ui / front / pagination Last commit date
advanced.php 4 months ago list.php 4 months ago paginate.php 4 months ago simple.php 4 months ago
list.php
28 lines
1 <?php
2
3 // Don't load directly.
4 if ( ! defined( 'ABSPATH' ) ) {
5 die( '-1' );
6 }
7
8 // phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
9 ?>
10 <div class="pods-pagination-paginate <?php echo esc_attr( $params->class ); ?>">
11 <?php
12 $args = array(
13 'base' => $params->base,
14 'format' => $params->format,
15 'total' => $params->total,
16 'current' => $params->page,
17 'end_size' => $params->end_size,
18 'mid_size' => $params->mid_size,
19 'prev_next' => $params->prev_next,
20 'prev_text' => $params->prev_text,
21 'next_text' => $params->next_text,
22 'type' => 'list',
23 );
24
25 echo paginate_links( $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
26 ?>
27 </div>
28