Skip to main content

Filter: gravityview_page_links_args

Filters the pagination options before they are passed to paginate_links().

Returning a non-array skips the widget render (the rest of the View still renders). The type argument is overridden to array for "Previous / Next only" mode and when "Show First / Last links" is enabled, because those modes post-process the link list; other modes honor any type set here.

Parameters

NameTypeDescription
$page_link_argsarrayArray of arguments for the paginate_links() function. Read more about paginate_links().

Since

  • 1.1.4

Source

Defined in src/Widget/Types/PageLinks.php at line 196