Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/comment.php | apply_filters | 65 | /** * Filters the number of links found in a comment. * * @since 3.0.0 * @since 4.7.0 Added the `$comment` parameter. * * @param int $num_links The number of links found. * @param string $url Comment author's URL. Included in allowed links total. * @param string $comment Content of the comment. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $num_links | The number of links found. |
string | $url | Comment author's URL. Included in allowed links total. |
string | $comment | Content of the comment. |