wp_list_comments_args хук-фильтр . WP 4.0.0
Filters the arguments used in retrieving the comment list.
Использование
add_filter( 'wp_list_comments_args', 'filter_function_name_9631' ); function filter_function_name_9631( $parsed_args ){ // filter... return $parsed_args; }
- $parsed_args(массив)
- An array of arguments for displaying comments.
Список изменений
С версии 4.0.0 | Введена. |
Где вызывается хук
wp_list_comments_args
wp-includes/comment-template.php 2100
$parsed_args = apply_filters( 'wp_list_comments_args', $parsed_args );