get_comment_author_url хук-фильтр . WP 1.5.0
Filters the comment author's URL.
Использование
add_filter( 'get_comment_author_url', 'filter_function_name_9388', 10, 3 ); function filter_function_name_9388( $url, $comment_ID, $comment ){ // filter... return $url; }
- $url(строка)
- The comment author's URL.
- $comment_ID(число)
- The comment ID.
- $comment(WP_Comment)
- The comment object.
Список изменений
С версии 1.5.0 | Введена. |
С версии 4.1.0 | The $comment_ID and $comment parameters were added. |
Где вызывается хук
get_comment_author_url
wp-includes/comment-template.php 327
return apply_filters( 'get_comment_author_url', $url, $id, $comment );