BP_XProfile_Field::get_alternate_name()

Get alternate name of the field.

Description

Lazy-loaded to reduce overhead.

Return

(string)

Source

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

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

		return $this->alternate_name;
	}

Changelog

Changelog
Version Description
BuddyBoss 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.