edit_comment_link
apply_filters( ‘edit_comment_link’, string $link , int $comment_id , string $text )
过滤器::过滤注释编辑链接锚标记。
Filter Hook: Filters the comment edit link anchor tag.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$link | (string) | 编辑链接的定位标记。 |
$comment_id | (int) | 注释ID。 |
$text | (string) | 锚文本。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.3.0 | wp-includes/link-template.php:1547 | 1 | 0 |
edit_comment_link 为WP2原创文章,链接:https://www.wp2.cn/hook/edit_comment_link/