1. 首页
  2. WordPress 函数手册

previous_comments_link()

previous_comments_link( string $label =  )

显示指向上一评论页的链接。
Displays the link to the previous comments page.

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


参数(Parameters)

参数 类型 必填 说明
$label (string) 可选 注释链接文本的标签。

返回(Return)

无返回值


源码(Source)

/**
 * Display the previous comments page link.
 *
 * @since 2.7.0
 *
 * @param string $label Optional. Label for comments link text.
 */
function previous_comments_link( $label = '' ) {
	echo get_previous_comments_link( $label );
}
更新版本 源码位置 使用 被使用
2.7.0 wp-includes/link-template.php:2960 0 1 function

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