bbp_list_replies (args美元=数组())
回复列表
描述
源
函数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) | 介绍了。 |