apply_filters( 'comment_max_links_url', int $num_links, string $url, string $comment )

Filters the number of links found in a comment.


Parameters

$num_links

(int) The number of links found.

$url

(string) Comment author's URL. Included in allowed links total.

$comment

(string) Content of the comment.


Source

File: wp-includes/comment.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.7.0 Added the $comment parameter.
WP-3.0.0 Introduced.