bp_get_the_profile_field_type()
Returns the XProfile field type.
Description Description
Return Return
(string)
Source Source
File: bp-xprofile/bp-xprofile-template.php
function bp_get_the_profile_field_type() {
global $field;
/**
* Filters the XProfile field type.
*
* @since 1.1.0
*
* @param string $type Type for the profile field.
*/
return apply_filters( 'bp_the_profile_field_type', $field->type );
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.1.0 | Introduced. |