A WordPress-centric search engine for devs and theme authors



edit_comment_link ›

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
  • (int) $comment_id Comment ID.
    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;