→ facetwp_pager_html

Overview

This filter lets you modify how the pager appears.

Parameters

  • $output | string | The pager HTML
  • $params | array | An associative array of pagination settings (see below)

$params = array(
    'page' => 1,
    'per_page' => 10,
    'total_rows' => 205,
    'total_pages' => 21
);

Usage

<?php
function my_facetwp_pager_html( $output, $params ) {
    return $output;
}

add_filter( 'facetwp_pager_html', 'my_facetwp_pager_html', 10, 2 );