Bp_Search_Groups:: generate_html (template_type美元''

描述

文件:bp-search /类/ class-bp-search-groups.php

$template_type= "){$group_ids = array();Foreach ($this->search_results['items'] as $item_id=>$item_html){$group_ids[] = $item_id;$args = array('include'=>$group_ids, 'per_page'=>count($group_ids), 'search_terms' => false);If (is_user_logged_in()){$args['show_hidden'] = true;}如果(function_exists (bp_bpla)) {$ args(“search_term”)= ';} do_action('bp_before_search_groups_html');If (bp_has_groups($args)){while (bp_groups()){bp_the_group();$result = array('id' => bp_get_group_id(), 'type' => $this->type, 'title' => bp_get_group_name(), 'html' => bp_search_buffer_template_part('loop/group', $template_type, false),);$ this - > search_results(“项目”)[bp_get_group_id()) = $结果;}} do_action('bp_after_search_groups_html'); }

问题吗?

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