apply_filters( 'bp_xprofile_field_type_set_format', string $format , string $replace_format , BP_XProfile_Field_Type $this )
Filters the regex format for the field type.
Description
Parameters
- $format
-
Regex string.
- $replace_format
-
replace format If "replace", replaces the format instead of adding to it. Defaults to "add".
- $this
-
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.