BP_XProfile_Data_Template::profile_fields()

Kick off the profile fields.


Description Description


Return Return

(bool)


Top ↑

Source 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;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.