File: bp-xprofile/classes/class-bp-xprofile-field-type.php
Description
BP_XProfile_Field_Type::get_edit_field_html_elements()

Get a sanitised and escaped string of the edit field’s HTML elements and attributes.

Source: bp-xprofile/classes/class-bp-xprofile-field-type.php:517

bp_xprofile_field_type_set_whitelist_values

Filters values for field type’s whitelist that profile data will be asserted against.

Source: bp-xprofile/classes/class-bp-xprofile-field-type.php:177

BP_XProfile_Field_Type::get_whitelist_values()

Get the list of whitelisted values.

Source: bp-xprofile/classes/class-bp-xprofile-field-type.php:190

BP_XProfile_Field_Type::is_valid()

Check the given string against the registered formats for this field type.

Source: bp-xprofile/classes/class-bp-xprofile-field-type.php:204

bp_xprofile_field_type_is_valid

Filters whether or not field type is a valid format.

Source: bp-xprofile/classes/class-bp-xprofile-field-type.php:246

BP_XProfile_Field_Type

Represents a type of XProfile field and holds meta information about the type of value that it accepts.

Source: bp-xprofile/classes/class-bp-xprofile-field-type.php:17

BP_XProfile_Field_Type::__construct()

Constructor.

Source: bp-xprofile/classes/class-bp-xprofile-field-type.php:105

bp_xprofile_field_type

Fires inside __construct() method for BP_XProfile_Field_Type class.

Source: bp-xprofile/classes/class-bp-xprofile-field-type.php:115

BP_XProfile_Field_Type::set_format()

Set a regex that profile data will be asserted against.

Source: bp-xprofile/classes/class-bp-xprofile-field-type.php:131

bp_xprofile_field_type_set_format

Filters the regex format for the field type.

Source: bp-xprofile/classes/class-bp-xprofile-field-type.php:143