apply_filters( 'bp_xprofile_set_field_data_pre_validate', mixed $value , BP_XProfile_Field $field , BP_XProfile_Field_Type $field_type_obj )
Filter the raw submitted profile field value.
Description
Use this filter to modify the values submitted by users before doing field-type-specific validation.
Parameters
- $value
-
Value passed to xprofile_set_field_data().
- $field
-
Field object.
- $field_type_obj
-
Field type object.
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.1.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.