comment_max_links_url

Advertisement

Summery Summery

Filters the number of links found in a comment.

Syntax Syntax

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

Parameters 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 Source

File: wp-includes/comment.php

Advertisement

Changelog Changelog

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

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.