bp_search_activities :: generate_html($ template_type.=''

描述

来源

文件:bp-search / classes / class-bp-search-activity.php

受保护功能生成_html($ template_type =''){$ post_ids_arr = array();foreach($ this-> search_results ['项目'] AS $ item_id => $ item_html){$ post_ids_arr [] = $ item_id;$ post_ids = moplode(',',$ post_ids_arr);do_action('bp_before_search_actity_html');if(bp_has_activities(array(''include'=> $ post_ids,'per_page'=> count($ post_ids_arr))))){whis(bp_activities()){bp_the_actity();$结果=数组('id'=> bp_get_actity_id(),'type'=> $ this-> type,'title'=> $ this-> search_term,'html'=> bp_search_buffer_template_part('循环/活动',$template_type,false),);$以下 - > search_results ['项目'] [bp_get_acticity_id()] = $结果;do_action('bp_after_search_actity_html');}

问题?

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