Description
Filters the returned single comment permalink.
Occurrences
Filename | Line Number |
---|---|
wp-includes/comment-template.php | 860 |
Parameters
Type | Name | Description |
---|---|---|
string | $comment_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. |
PHP Doc
/**
* 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 $comment_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.
*/