Filter hook 'comment_max_links_url'

in WP Core File wp-includes/comment.php at line 65

Description

Filters the number of links found in a comment.

Occurrences

Filename Line Number
wp-includes/comment.php 65

Parameters

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.

PHP Doc

/**
		 * 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.
		 */