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.


Top ↑

Source

File: wp-includes/link-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More