next_posts_link

函数


next_posts_link ( $label = null, $max_page = 0 )
参数
  • (string)
    $label
    Content for link text.
    Required:
    Default: null
  • (int)
    $max_page
    Optional. Max pages. Default 0.
    Required:
定义位置
  • wp-includes/link-template.php
    , line 2524
引入
0.71
弃用

Displays the next posts page link.

function next_posts_link( $label = null, $max_page = 0 ) {
	echo get_next_posts_link( $label, $max_page );
}