apply_filters( 'get_comment_link', string $link, WP_Comment $comment, array $args, int $cpage )

Filters the returned single comment permalink.

Description Description

See also See also

Top ↑

Parameters Parameters


(string) The comment permalink with '#comment-$id' appended.


(WP_Comment) The current comment object.


(array) An array of arguments to override the defaults.


(int) The calculated 'cpage' value.

Top ↑

Source Source

File: wp-includes/comment-template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 Added the $cpage parameter.
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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