edit_comment_link()
edit_comment_link( string $text = null, string $before = ”, string $after = ” )
显示带有格式的编辑注释链接。
Displays the edit comment link with formatting.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$text | (string) | 可选 | 锚文本。如果为空,则默认为“编辑此”。 |
$before | (string) | 可选 | 在编辑链接之前显示。 |
$after | (string) | 可选 | 编辑链接后显示。 |
返回(Return)
无返回值
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
1.0.0 | wp-includes/link-template.php:1525 | 3 | 7 |
笔记(Notes)
实例
edit_comment_link() 为WP2原创文章,链接:https://www.wp2.cn/functions/edit_comment_link-2/