WordPress at a glance
filter is not described

comment_max_links_url filter-hook . WP 3.0.0

Filters the number of links found in a comment.


add_filter( 'comment_max_links_url', 'filter_function_name_8850', 10, 3 );
function filter_function_name_8850( $num_links, $url, $comment ){
	// filter...

	return $num_links;
The number of links found.
Comment author's URL. Included in allowed links total.
Content of the comment.


  • Since 4.7.0 Added the $comment parameter.

Where the hook is called

wp-includes/comment.php 63
$num_links = apply_filters( 'comment_max_links_url', $num_links, $url, $comment );

Where the hook is used (in WP core)

Does not used.