comment_reply_link_args хук-фильтр . WP 4.1.0
Filters the comment reply link arguments.
Использование
add_filter( 'comment_reply_link_args', 'filter_function_name_3055', 10, 3 ); function filter_function_name_3055( $args, $comment, $post ){ // filter... return $args; }
- $args(массив)
- Comment reply link arguments. See get_comment_reply_link() for more information on accepted arguments.
- $comment(WP_Comment)
- The object of the comment being replied to.
- $post(WP_Post)
- The WP_Post object.
Список изменений
С версии 4.1.0 | Введена. |
Где вызывается хук
comment_reply_link_args
wp-includes/comment-template.php 1719
$args = apply_filters( 'comment_reply_link_args', $args, $comment, $post );