1. 首页
  2. WordPress钩子手册

comments_list_table_query_args

apply_filters( ‘comments_list_table_query_args’, array $args )

过滤器挂钩:过滤注释列表表中注释查询的参数。
Filter Hook: Filters the arguments for the comment query in the comments list table.

目录锚点:#参数#源码


参数(Parameters)

参数 类型 说明
$args (array) get_comments()参数的数组。

源码(Source)


更新版本 源码位置 使用 被使用
5.1.0 wp-admin/includes/class-wp-comments-list-table.php:145 1 0

comments_list_table_query_args 为WP2原创文章,链接:https://www.wp2.cn/hook/comments_list_table_query_args/