wpseek.com
WordPress开发者和主题制作者的搜索引擎



edit_comment_link › WordPress过滤钩子

Since2.3.0
已弃用n/a
apply_filters( 'edit_comment_link', $link, $comment->comment_ID, $text )
参数: (3)
  • (string) $link Anchor tag for the edit link.
    Required: Yes
  • (string) $comment_id Comment ID as a numeric string.
    Required: Yes
  • (string) $text Anchor text.
    Required: Yes
定义在:
文档:

Filters the comment edit link anchor tag.





源码

echo $before . apply_filters( 'edit_comment_link', $link, $comment->comment_ID, $text ) . $after;