您的当前位置:首页 > 知识博客 > wordpress建站

WordPress输出评论链接函数:comment_link

时间:2024-03-10

WordPress函数comment_link用于输出评论的链接。

comment_link( int|WP_Comment $comment = null )

函数参数

$comment

整数或对象

评论的ID,或WP_Comment对象

函数使用示例

<a href="<?php comment_link(); ?>">查看评论</a>

扩展阅读

comment_link()函数位于:wp-includes/feed.php

相关函数:

  • get_comment_link()

  • edit_comment_link()


欢迎咨询/Welcome to inquire
tel/vx:18842938855
qq:1685522781
email:1685522781@qq.com

Copyright © 2019-2024 sex.cyou


Whatsapp
Powered by RRZCMS