显示指向下一个评论页面的链接。
原型
next_comments_link( string $label = '', int $max_page )
参数
$label
(string)
(Optional)
链接文本的标签。
$max_page
(int)
(Optional)
最大页面。默认值为0。
源文件
路径:wp-includes/link-template.php
<?php
...
function next_comments_link( $label = '', $max_page = 0 ) {
echo get_next_comments_link( $label, $max_page );
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/next_comments_link/