在设置之前过滤评论作者的IP地址。
原型
apply_filters( 'pre_comment_user_ip', string $comment_author_ip )
参数
$comment_author_ip
(string)
评论作者的IP地址。
源文件
路径:wp-includes/comment.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/pre_comment_user_ip/
在设置之前过滤评论作者的IP地址。
apply_filters( 'pre_comment_user_ip', string $comment_author_ip )
$comment_author_ip
(string)
评论作者的IP地址。
路径:wp-includes/comment.php
英文文档:https://developer.wordpress.org/reference/hooks/pre_comment_user_ip/
请在后台设置小工具!