Filter hook 'get_comment_author_url'
in WP Core File wp-includes/comment-template.php at line 375
Description
Filters the comment author's URL.
Occurrences
Filename |
Line Number |
wp-includes/comment-template.php |
375 |
Parameters
Type |
Name |
Description |
string |
$comment_author_url |
The comment author's URL, or an empty string. |
string|int |
$comment_id |
The comment ID as a numeric string, or 0 if not found. |
WP_Comment|null |
$comment |
The comment object, or null if not found. |
PHP Doc
/**
* Filters the comment author's URL.
*
* @since 1.5.0
* @since 4.1.0 The `$comment_id` and `$comment` parameters were added.
*
* @param string $comment_author_url The comment author's URL, or an empty string.
* @param string|int $comment_id The comment ID as a numeric string, or 0 if not found.
* @param WP_Comment|null $comment The comment object, or null if not found.
*/