edit_comment_link WordPress Filter Hook
The edit_comment_link hook is used to display a link to edit a comment. This hook is used in the default comment template.
apply_filters( 'edit_comment_link', string $link , string $comment_id , string $text ) #
Filters the comment edit link anchor tag.
Parameters
- $link
(string)Anchor tag for the edit link.
- $comment_id
(string)Comment ID as a numeric string.
- $text
(string)Anchor text.
Source
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |