首页 WordPress函数大全 get_comment_text()

get_comment_text()

2020-05-01 / 5749阅 / 悠然

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

get_comment_text( int|WP_Comment $comment_ID, array $args = array() )

Retrieves the text of the current comment.

描述

See also See also

  • Walker_Comment::comment()

Top ↑

参数

$comment_ID

(int|WP_Comment)
(Required)
WP_Comment or ID of the comment for which to get the text. Default current comment.

$args

(array)
(Optional)
An array of arguments.

Default value: array()

返回

(string) The comment content.

大家谈论
    我的见解