BP_XProfile_Field::get_signup_position()

Get the field’s signup position.


Return Return

(int) the field's signup position. 0 if the field has not been added to the signup form.


Source Source

File: bp-xprofile/classes/class-bp-xprofile-field.php

	public function get_signup_position() {
		if ( ! isset( $this->signup_position ) ) {
			$this->signup_position = (int) bp_xprofile_get_meta( $this->id, 'field', 'signup_position' );
		}

		return $this->signup_position;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
8.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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