wordpress / latest / hooks / edit_comment_link.html

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

File: wp-includes/link-template.php. View all references

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

Used By

Used By Description

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