xprofile_sanitize_data_value_before_display( string $value, string $type, int $field_id )

Filters profile field values for allowed HTML.


Parameters Parameters

$value

(string) (Required) Field value.

$type

(string) (Required) Field type.

$field_id

(int) (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 );
}


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.