get_comment_author_url_link
Filters the comment author's returned URL link.
Использование
add_filter( 'get_comment_author_url_link', 'wp_kama_get_comment_author_url_link_filter' );
/**
* Function for `get_comment_author_url_link` filter-hook.
*
* @param string $comment_author_url_link The HTML-formatted comment author URL link.
*
* @return string
*/
function wp_kama_get_comment_author_url_link_filter( $comment_author_url_link ){
// filter...
return $comment_author_url_link;
}
- $comment_author_url_link(строка)
- The HTML-formatted comment author URL link.
Список изменений
| С версии 1.5.0 | Введена. |
Где вызывается хук
get_comment_author_url_link
wp-includes/comment-template.php 457
return apply_filters( 'get_comment_author_url_link', $comment_author_url_link );