BP_XProfile_Data_Template::profile_fields()
Kick off the profile fields.
Description
Return
(bool)
Source
File: bp-xprofile/classes/class-bp-xprofile-data-template.php
public function profile_fields() {
if ( $this->current_field + 1 < $this->field_count ) {
return true;
} elseif ( $this->current_field + 1 == $this->field_count ) {
// Do some cleaning up after the loop.
$this->rewind_fields();
}
return false;
}
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.