comments_link()
comments_link( string $deprecated = ”, string $deprecated_2 = ” )
显示指向当前文章注释的链接。
Displays the link to the current post comments.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$deprecated | (string) | 可选 | 不使用。 |
$deprecated_2 | (string) | 可选 | 不使用。 |
返回(Return)
无返回值
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
0.71 | wp-includes/comment-template.php:829 | 2 | 3 |
笔记(Notes)
例子
comments_link() 为WP2原创文章,链接:https://www.wp2.cn/functions/comments_link/