get_comments_link()
get_comments_link( int|WP_Post $post_id ) 检索指向当前文章注释的链接…
get_comments_link( int|WP_Post $post_id )
检索指向当前文章注释的链接。
Retrieves the link to the current post comments.
检索指向当前文章注释的链接。
Retrieves the link to the current post comments.
目录锚点:#参数#返回#源码
参数(Parameters)
| 参数 | 类型 | 必填 | 说明 | 
|---|---|---|---|
| $post_id | (int | WP_Post) | 可选 | Post ID或WP_Post对象。默认值为全局$post。 | 
返回(Return)
(string)指向注释的链接。
源码(Source)
| 更新版本 | 源码位置 | 使用 | 被使用 | 
|---|---|---|---|
| 1.5.0 | wp-includes/comment-template.php:806 | 2 | 4 | 
类别:WordPress 函数手册、 
		本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。


还没有任何评论,赶紧来占个楼吧!