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