bp_profile_repeaters_print_group_html_start ()
打开转发器设置的包装-在编辑配置文件屏幕
描述
源
文件:bp-xprofile / bp-xprofile-repeaters.php
函数bp_profile_repeaters_print_group_html_start () {$group_id = bp_get_current_profile_group_id();$is_repeater_enabled = 'on' == BP_XProfile_Group::get_group_meta($group_id, 'is_repeater_enabled') ?真:假;If ($is_repeater_enabled){全局$first_xpfield_in_repeater;$ current_field_id = bp_get_the_profile_field_id ();$current_set_number = bp_xprofile_get_meta($current_field_id, 'field', '_clone_number', true);$template_field_id = bp_xprofile_get_meta($current_field_id, 'field', '_cloned_from', true);$is_required = xprofile_check_is_required_field($current_field_id);$can_delete = ('1' == $current_set_number && true === $is_required) ?假:真; if ( empty( $first_xpfield_in_repeater ) ) { $first_xpfield_in_repeater = $template_field_id; //start of first set ?>