comment_status_links
apply_filters( ‘comment_status_links’, string[] $status_links )
过滤器挂钩:过滤注释状态链接。
Filter Hook: Filters the comment status links.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$status_links | (string[]) | 完整形式的注释状态链接的关联数组。包括“All”、“Mine”、“Pending”、“Approved”、“Spam”和“Trash”。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
5.1.0 | wp-admin/includes/class-wp-comments-list-table.php:326 | 1 | 0 |
comment_status_links 为WP2原创文章,链接:https://www.wp2.cn/hook/comment_status_links/