wpseek.com
A WordPress-centric search engine for devs and theme authors



edit_comment_link › WordPress Filter Hooks

Since2.3.0
Deprecatedn/a
apply_filters( 'edit_comment_link', $link, $comment->comment_ID, $text )
Parameters: (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
Defined at:
Codex:

Filters the comment edit link anchor tag.





Source

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