comment_form_title()
comment_form_title( string $noreplytext = false, string $replytext = false, string $linktoparent = true )
根据注释答复状态显示文本。
Displays text based on comment reply status.
说明(Description)
仅影响禁用JavaScript的用户。
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$noreplytext | (string) | 可选 | 不回复评论时显示的文本。 |
$replytext | (string) | 可选 | 回复评论时显示的文本。接受被回复评论的作者的%s。 |
$linktoparent | (string) | 可选 | Boolean,用于控制将作者的姓名作为其注释的链接。 |
返回(Return)
无返回值
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.7.0 | wp-includes/comment-template.php:1954 | 1 function | 4 |
笔记(Notes)
基本示例
comment_form_title() 为WP2原创文章,链接:https://www.wp2.cn/functions/comment_form_title/