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.
Parameters Parameters
- $format
-
(string) Regex string.
- $replace_format
-
(string) replace format If "replace", replaces the format instead of adding to it. Defaults to "add".
- $this
-
(BP_XProfile_Field_Type) Current instance of the BP_XProfile_Field_Type class.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |