BP_XProfile_Field_Type_WordPress_Textbox::set_wp_user_key( BP_XProfile_Field $field )

Sets the WordPress field wp_user_key property before saving the xProfile field.


Parameters Parameters

$field

(BP_XProfile_Field) (Required) Field object.


Source Source

File: bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-textbox.php

	public function set_wp_user_key( $field ) {
		if ( ! $this->wp_user_key && 'wp-textbox' === $field->type ) {
			$this->wp_user_key = self::get_field_settings( $field->id );
		}
	}


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.