筛选挂钩:筛选要显示的注释作者的名称。
apply_filters( ‘comment_author’, string $author , int $comment_ID )
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|---|---|
| $author | (string) | 评论作者的用户名。 |
| $comment_ID | (int) | 评论ID。 |
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 4.1.0 | wp-includes/comment-template.php:73 | 1 | 0 |
筛选挂钩:筛选要显示的注释作者的名称。
apply_filters( ‘comment_author’, string $author , int $comment_ID )
| 参数 | 类型 | 说明 |
|---|---|---|
| $author | (string) | 评论作者的用户名。 |
| $comment_ID | (int) | 评论ID。 |
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 4.1.0 | wp-includes/comment-template.php:73 | 1 | 0 |
之前