apply_filters( ‘edit_comment_link’, string $link, string $comment_id, string $text )

In this article

Filters the comment edit link anchor tag.

Parameters

$linkstring
Anchor tag for the edit link.
$comment_idstring
Comment ID as a numeric string.
$textstring
Anchor text.

Source

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

Changelog

VersionDescription
2.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.