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
- $value
-
(string) Field value.
- $values
-
(array) Original array of values.
- $this
-
(BP_XProfile_Field_Type) Current instance of the BP_XProfile_Field_Type class.
Source Source
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Use 'bp_xprofile_field_type_set_allowed_values' instead. |
2.0.0 | Introduced. |