comment_author_url_link()
最后更新于:2021-11-25 21:04:28
comment_author_url_link( string$linktext=”, string$before=”, string$after=”, int|GC_Comment$comment)Displays the HTML link of the URL of the author of the current comment.
参数
- $linktext
-
(string) (Optional) Text to display instead of the comment author’s email address.
Default value: ”
- $before
-
(string) (Optional) Text or HTML to display before the email link.
Default value: ”
- $after
-
(string) (Optional) Text or HTML to display after the email link.
Default value: ”
- $comment
-
(int|GC_Comment) (Optional) Comment ID or GC_Comment object. Default is the current comment.
源文件
文件: gc-includes/comment-template.php
function comment_author_url_link( $linktext = '', $before = '', $after = '', $comment = 0 ) {
echo get_comment_author_url_link( $linktext, $before, $after, $comment );
}