On this page
apply_filters( 'edit_comment_link', string $link, string $comment_id, string $text )
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
File: wp-includes/link-template.php. View all references
echo $before . apply_filters( 'edit_comment_link', $link, $comment->comment_ID, $text ) . $after;
Related
Used By
| Used By | Description |
|---|---|
| edit_comment_link() wp-includes/link-template.php | Displays the edit comment link with formatting. |
Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/edit_comment_link