bpgroupcourses :: prepareComponentOptions()
进入BuddyPress组扩展课程的参数
描述
来源
文件:BP-乐动体育网站怎样Integrations / Seathdash / BuddyPress / Components / BPGroupCourses.php
受保护的函数预处理(){$ tabname = apply_filters('bp_ld_sync / courses_group_tab_name',$ this-> tablabel());$ tabslug = apply_filters('bp_ld_sync / courses_group_tab_slug','课程');$ tabposition = apply_filters('bp_ld_sync / courses_group_tab_position',15);// seathdash_is_group_leader_user returp ['name'=> $ tabname,'slug'=> $ tabslug,'nav_item_position'=> $ tabposition,'access'=> apply_filters('bp_ld_sync / courses_group_tab_enabled',$ this-> showtabonview()),'屏幕'=> ['创建'=> ['启用'=> apply_filters('bp_ld_sync / courses_group_tab_enabled / screen = greate',$ this-> showtaboncreate()),'name'=> apply_filters('bp_ld_sync / courses_group_tab_name'/ screen = create',$ tabname),'slug'=> apply_filters('bp_ld_sync / courses_group_tab_slug / screen = create',$ tabslug),'position'=> apply_filters('bp_ld_sync / courses_group_tab_position / screen = create',$ tabposition),//'screen_callback'=>'',//'save_callback'=>',// ??],'编辑'=> ['启用'=> apply_filters('bp_ld_sync / courses_group_tab_enabled / screen =编辑',true),'name'=> apply_filters('bp_ld_sync / courses_group_tab_name / screen =编辑',$ tabname),'slug'=> apply_filters('bp_ld_sync / courses_group_tab_slug / screen =编辑',$ tabslug),'position'=> apply_filters('bp_ld_sync / courses_group_tab_position / screen =编辑',$ tabposition),//'screen_callback'=>'',//'save_callback'=>'',// ??//'submit_text'=>''],'admin'=>数组('metabox_context'=>'normal','metabox_priority'=>'core',),]];}
变更乐
版本 | 描述 |
---|---|
Buddyboss 1.0.0. | 介绍。 |