Warning: This hook has been deprecated. Use ‘bp_xprofile_field_type_set_allowed_values’ instead.

apply_filters_deprecated( 'bp_xprofile_field_type_set_whitelist_values', string $value, array $values, BP_XProfile_Field_Type $this )

Filters values for field type’s list of allowed values that profile data will be asserted against.

Parameters Parameters


(string) Field value.


(array) Original array of values.


(BP_XProfile_Field_Type) Current instance of the BP_XProfile_Field_Type class.

Source Source

File: bp-xprofile/classes/class-bp-xprofile-field-type.php

View on Trac

Top ↑

Changelog Changelog

Version Description
7.0.0 Use 'bp_xprofile_field_type_set_allowed_values' instead.
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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