Warning: Undefined array key -1 in
/www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line
185
Warning: Undefined array key 4 in
/www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line
186
Warning: Undefined variable $searchand in
/www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line
154
Warning: Undefined array key "8a120dc4a793b62501729a9a51316687" in
/www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line
223
Warning: Undefined variable $searchand in
/www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line
154
Warning: Undefined array key "3743f043ec003c5dec15b1f60f641527" in
/www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line
223
Warning: Undefined variable $searchand in
/www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line
154
Warning: Undefined array key "ee03a7a6327035fdc5d83a8f5dcc88b9" in
/www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line
223
$argsarray可选
-
覆盖默认参数.
add_belowstring
选择器的第一部分用于标识要在其下面回复的评论。
生成的值作为第一个参数传递给addComment.moveForm(),连接为$add_below-$comment->comment_ID。默认'comment'。
respond_idstring
标识响应评论的选择器。作为addComment.moveForm()的第三个参数传递,并作为哈希值附加到链接URL。
默认'respond'。
reply_textstring
回复链接的文本。默认'Reply'。
login_textstring
未登录时的回复链接文本。默认“登录回复”。
max_depthint
评论树的最大深度。默认值为0。
depthint
新评论的深度。必须大于0且小于在“设置>讨论”中设置的'thread_comments_depth'选项的值,默认值为0。
beforestring
要在回复链接之前添加的文本或HTML。
afterstring
要在回复链接后添加的文本或HTML。
默认:array()
$commentint|可选
-
正在回复的评论。默认当前评论。
默认:null
$postint|WP_Post可选
-
将显示评论的文章ID或WP_Post对象。
默认当前文章
默认:null
string|false|null 如果成功,链接到显示评论表单。如果评论已关闭,则为False。
更新日志
| 版本 | 描述 |
|---|
| 4.4.0 | 增加了$comment也可以接受WP_Comment对象的功能。 |
| 2.7.0 | 开始引入 |
Warning: Undefined variable $o in
/www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference.php on line
194