comments_list_table_query_args хук-фильтр . WP 5.1.0
Filters the arguments for the comment query in the comments list table.
Использование
add_filter( 'comments_list_table_query_args', 'filter_function_name_4573' ); function filter_function_name_4573( $args ){ // filter... return $args; }
- $args(массив)
- An array of get_comments() arguments.
Список изменений
С версии 5.1.0 | Введена. |
Где вызывается хук
comments_list_table_query_args
wp-admin/includes/class-wp-comments-list-table.php 162
$args = apply_filters( 'comments_list_table_query_args', $args );