bp_field_has_data()
Whether or not the XProfile field has data to display.
Description Description
Return Return
(mixed)
Source Source
File: bp-xprofile/bp-xprofile-template.php
function bp_field_has_data() {
global $profile_template;
/**
* Filters whether or not the XProfile field has data to display.
*
* @since 2.8.0
*
* @param bool $value Whether or not there is data to display.
* @param object $profile_template Profile template object.
* @param string $value Profile field being displayed.
* @param string $value Profile field ID being displayed.
*/
return apply_filters( 'bp_field_has_data', $profile_template->field_has_data, $profile_template, $profile_template->field, $profile_template->field->id );
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |