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


(string) Regex string.


(string) replace format If "replace", replaces the format instead of adding to it. Defaults to "add".


(BP_XProfile_Field_Type) Current instance of the BP_XProfile_Field_Type class.

Source Source

File: bp-xprofile/classes/class-bp-xprofile-field-type.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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