Wordpress 钩子:get_comment_author
文章目录
过滤返回的评论作者姓名。
原型
apply_filters( 'get_comment_author', string $author, int $comment_ID, WP_Comment $comment )
参数
$author
(string)
评论作者的用户名。
$comment_ID
(int)
评论ID。
$comment
(WP_Comment)
评论对象。
源文件
路径:wp-includes/comment-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/get_comment_author/
文章作者 iBllex
上次更新 2019-02-16