xprofile_sanitize_data_value_before_display_from_get_field_data( string $value, int $field_id )
Filters profile field values for allowed HTML, when coming from xprofile_get_field_data().
Description Description
Parameters Parameters
- $value
-
(Required) Field value.
- $field_id
-
(Required) Field ID.
Source Source
File: bp-xprofile/bp-xprofile-filters.php
function xprofile_sanitize_data_value_before_display_from_get_field_data( $value, $field_id ) { return xprofile_filter_kses( $value, $field_id ); }
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |