apply_filters( 'bp_xprofile_field_type_is_valid', bool $validated , string|array $values , BP_XProfile_Field_Type $this )
Filters whether or not field type is a valid format.
Description
Parameters
- $validated
-
(bool) Whether or not the field type is valid.
- $values
-
(string|array) Value to check against the registered formats.
- $this
-
(BP_XProfile_Field_Type) Current instance of the BP_XProfile_Field_Type class.
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.0.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.