BP_XProfile_Data_Template::next_group()
Increments to the next group of fields.
Description
Return
(object)
Source
File: bp-xprofile/classes/class-bp-xprofile-data-template.php
public function next_group() { $this->current_group++; $this->group = $this->groups[ $this->current_group ]; $this->field_count = 0; if ( ! empty( $this->group->fields ) ) { /** * Filters the group fields for the next_group method. * * @since BuddyPress 1.1.0 * * @param array $fields Array of fields for the group. * @param int $id ID of the field group. */ $this->group->fields = apply_filters( 'xprofile_group_fields', $this->group->fields, $this->group->id ); $this->field_count = count( $this->group->fields ); } return $this->group; }
Changelog
Version | Description |
---|---|
BuddyPress 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.