过滤器::过滤注释数组。
apply_filters( ‘comments_array’, array $comments , int $post_ID )
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|---|---|
| $comments | (array) | 提供给注释模板的注释数组。 |
| $post_ID | (int) | 邮政编码。 |
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 2.1.0 | wp-includes/comment-template.php:1494 | 1 | 0 |
过滤器::过滤注释数组。
apply_filters( ‘comments_array’, array $comments , int $post_ID )
| 参数 | 类型 | 说明 |
|---|---|---|
| $comments | (array) | 提供给注释模板的注释数组。 |
| $post_ID | (int) | 邮政编码。 |
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 2.1.0 | wp-includes/comment-template.php:1494 | 1 | 0 |
之前