xprofile_get_field_id_from_name( string $field_name )

Returns the ID for the field based on the field name.


Description Description


Parameters Parameters

$field_name

(Required) The name of the field to get the ID for.


Top ↑

Return Return

(int|null) $field_id on success, false on failure.


Top ↑

Source Source

File: bp-xprofile/bp-xprofile-functions.php

function xprofile_get_field_id_from_name( $field_name ) {
	return BP_XProfile_Field::get_id_from_name( $field_name );
}

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.