1. 首页
  2. WordPress 函数手册

next_comments_link()

next_comments_link( string $label = , int $max_page )

显示指向下一个评论页的链接。
Displays the link to the next comments page.

目录锚点:#参数#返回#源码


参数(Parameters)

参数 类型 必填 说明
$label (string) 可选 链接文本的标签。
$max_page (int) 可选 最大页。默认值0。

返回(Return)

无返回值


源码(Source)

/**
 * Display the link to next comments page.
 *
 * @since 2.7.0
 *
 * @param string $label    Optional. Label for link text.
 * @param int    $max_page Optional. Max page.
 */
function next_comments_link( $label = '', $max_page = 0 ) {
	echo get_next_comments_link( $label, $max_page );
}
更新版本 源码位置 使用 被使用
2.7.0 wp-includes/link-template.php:2914 0 1 function

next_comments_link() 为WP2原创文章,链接:https://www.wp2.cn/functions/next_comments_link/