Filters the HTML output of paginated links for archives.
Parameters
$rstring
HTML output.
$argsarray
An array of arguments. See paginate_links() for information on accepted arguments.More Arguments from paginate_links( … $args )Array or string of arguments for generating paginated links for archives.
basestring
Base of the paginated url.
formatstring
Format for the pagination structure.
totalint
The total amount of pages. Default is the value WP_Query‘s max_num_pages or 1.
currentint
The current page number. Default is 'paged' query var or 1.
aria_currentstring
The value for the aria-current attribute. Possible values are 'page', 'step', 'location', 'date', 'time', 'true', 'false'. Default is 'page'.
show_allbool
Whether to show all pages. Default false.
end_sizeint
How many numbers on either the start and the end list edges. Default 1.
mid_sizeint
How many numbers to either side of the current pages. Default 2.
prev_nextbool
Whether to include the previous and next links in the list. Default true.
prev_textstring
The previous page text. Default ‘« Previous’.
next_textstring
The next page text. Default ‘Next »’.
typestring
Controls format of the returned value. Possible values are 'plain', 'array' and 'list'. Default is 'plain'.