bbp_list_replies (args美元数组()

回复列表

描述

文件:bp-forums /回复/显然也

函数bbp_list_replies($args = array()){//重置回复深度bbpress()->reply_query->reply_depth = 0;//在应答循环中bbpress()->reply_query->in_the_loop = true;$r = bbp_parse_args($args, array('walker' => null, 'max_depth' => bbp_thread_replies_depth(), 'style' => 'ul', 'callback' => null, 'end_callback' => null, 'page' => 1, 'per_page' => -1), 'list_replies');//在$_replies $walker = new BBP_Walker_Reply;沃克- > paged_walk (bbpress () - > reply_query - >的文章,$ r(“max_depth”)$ r(“页面”)$ r(“per_page”)$ r);沃克bbpress()——> max_num_pages = $ - > max_pages;bbpress()——> reply_query - > in_the_loop = false;}

更新日志

更新日志
版本 描述
bbPress (r4944) 介绍了。

问题吗?

我们总是很乐意帮助您解决代码或其他问题!搜索我们的开发人员文档联络支持,或与我们联系销售团队