首页 WordPress函数大全 get_comment_author_url_link()

get_comment_author_url_link()

2020-05-01 / 4338阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_comment_author_url_link( string $linktext = '', string $before = '', string $after = '', int|WP_Comment $comment )

Retrieves the HTML link of the URL of the author of the current comment.

描述

$linktext parameter is>

参数

$linktext

(string)
(Optional)
The text to display instead of the comment author's email address.

Default value: ''

$before

(string)
(Optional)
The text or HTML to display before the email link.

Default value: ''

$after

(string)
(Optional)
The text or HTML to display after the email link.

Default value: ''

$comment

(int|WP_Comment)
(Optional)
Comment ID or WP_Comment object. Default is the current comment.

返回

(string) The HTML link between the $before and $after parameters.

大家谈论
    我的见解