apply_filters( ‘get_comment_link’, string $comment_link, WP_Comment $comment, array $args, int $cpage )

Filters the returned single comment permalink.

Description

See also

Parameters

$comment_linkstring
The comment permalink with '#comment-$id' appended.
$commentWP_Comment
The current comment object.
$argsarray
An array of arguments to override the defaults.
$cpageint
The calculated 'cpage' value.

Source

return apply_filters( 'get_comment_link', $comment_link, $comment, $args, $cpage );

Changelog

VersionDescription
4.4.0Added the $cpage parameter.
2.8.0Introduced.

User Contributed Notes

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