WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about get_comment_link

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment-template.php apply_filters 803 /**
* Filters the returned single comment permalink.
*
* @since 2.8.0
* @since 4.4.0 Added the `$cpage` parameter.
*
* @see get_page_of_comment()
*
* @param string $link The comment permalink with '#comment-$id' appended.
* @param WP_Comment $comment The current comment object.
* @param array $args An array of arguments to override the defaults.
* @param int $cpage The calculated 'cpage' value.
*/

Hook Parameters

Parameter Type Name Description
string $link The comment permalink with '#comment-$id' appended.
WP_Comment $comment The current comment object.
array $args An array of arguments to override the defaults.
int $cpage The calculated 'cpage' value.