apply_filters( ‘comment_max_links_url’, int $num_links, string $url, string $comment )

In this article

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

$num_links = apply_filters( 'comment_max_links_url', $num_links, $url, $comment );

Changelog

VersionDescription
4.7.0Added the $comment parameter.
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.