W3cubDocs

/WordPress

the_posts_pagination( array $args = array() )

Displays a paginated navigation to next/previous set of posts, when applicable.

Parameters

$args

(array) (Optional) See get_the_posts_pagination() for available arguments.

Default value: array()

Source

File: wp-includes/link-template.php

function the_posts_pagination( $args = array() ) {
	echo get_the_posts_pagination( $args );
}

Changelog

Version Description
4.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_posts_pagination