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 Description

Use this filter to modify the values submitted by users before doing field-type-specific validation.


Top ↑

Parameters Parameters

$value

(mixed) Value passed to xprofile_set_field_data().

$field

(BP_XProfile_Field) Field object.

$field_type_obj

(BP_XProfile_Field_Type) Field type object.


Source Source

File: bp-xprofile/bp-xprofile-functions.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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