首页 WordPress函数大全 comment_author_url_link()

comment_author_url_link()

2020-05-01 / 5783阅 / 悠然

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

comment_author_url_link( string $linktext = '', string $before = '', string $after = '', int|WP_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|WP_Comment)
(Optional)
Comment ID or WP_Comment object. Default is the current comment.

大家谈论
    我的见解