On this page
apply_filters( 'comment_max_links_url', int $num_links, string $url, string $comment )
Filters the number of links found in a comment.
Parameters
$num_linksint-
The number of links found.
$urlstring-
Comment author's URL. Included in allowed links total.
$commentstring-
Content of the comment.
Source
File: wp-includes/comment.php. View all references
$num_links = apply_filters( 'comment_max_links_url', $num_links, $url, $comment );
Related
Used By
| Used By | Description |
|---|---|
| check_comment() wp-includes/comment.php | Checks whether a comment passes internal checks to be allowed to add. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_max_links_url