comment_max_links_url
apply_filters( ‘comment_max_links_url’, int $num_links , string $url , string $comment )
筛选挂钩:筛选在注释中找到的链接数。
Filter Hook: Filters the number of links found in a comment.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$num_links | (int) | 找到的链接数。 |
$url | (string) | 评论作者的URL。包含在允许的链接总数中。 |
$comment | (string) | 评论的内容。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.7.0 | wp-includes/comment.php:65 | 1 | 0 |
comment_max_links_url 为WP2原创文章,链接:https://www.wp2.cn/hook/comment_max_links_url/