the_posts_pagination

函数


the_posts_pagination ( $args = array() )
参数
  • (array)
    $args
    Optional. See get_the_posts_pagination() for available arguments. Default empty array.
    Required:
    Default: array()
定义位置
  • wp-includes/link-template.php
    , line 2913
引入
4.1.0
弃用

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

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