apply_filters( ‘get_edit_comment_link’, string $location, int $comment_id, string $context )

In this article

Filters the comment edit link.

Parameters

$locationstring
The edit link.
$comment_idint
Unique ID of the comment to generate an edit link.
$contextstring
Context to include HTML entities in link. Default 'display'.

Source

return apply_filters( 'get_edit_comment_link', $location, $comment_id, $context );

Changelog

VersionDescription
6.7.0The $comment_id and $context parameters are now being passed to the filter.
2.3.0Introduced.

User Contributed Notes

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