Methods |
Description |
---|---|
BP_XProfile_Field_Type::admin_field_html() |
Output HTML for this field type on the wp-admin Profile Fields screen. |
BP_XProfile_Field_Type::admin_new_field_html() |
Output HTML for this field type’s children options on the wp-admin Profile Fields “Add Field” and “Edit Field” screens. |
BP_XProfile_Field_Type::admin_save_settings() |
Save miscellaneous settings related to this field type. |
BP_XProfile_Field_Type::display_filter() |
Allow field types to modify the appearance of their values. |
BP_XProfile_Field_Type::do_settings_section() |
Check whether the current field type should have a settings (“options”) section on the Edit Field panel. |
BP_XProfile_Field_Type::edit_field_html() |
Output the edit field HTML for this field type. |
BP_XProfile_Field_Type::edit_field_options_html() |
Output the edit field options HTML for this field type. |
BP_XProfile_Field_Type::get_edit_field_html_elements() |
Get a sanitised and escaped string of the edit field’s HTML elements and attributes. |
BP_XProfile_Field_Type::get_whitelist_values() |
Get the list of whitelisted values. |
BP_XProfile_Field_Type::is_valid() |
Check the given string against the registered formats for this field type. |
BP_XProfile_Field_Type::pre_validate_filter() |
Allow field types to modify submitted values before they are validated. |
BP_XProfile_Field_Type::set_format() |
Set a regex that profile data will be asserted against. |
BP_XProfile_Field_Type::set_whitelist_values() |
Add a value to this type’s whitelist that profile data will be asserted against. |
BP_XProfile_Field::__construct() |
Initialize and/or populate profile field. |
BP_XProfile_Field::__get() |
Magic getter. |
BP_XProfile_Field::__isset() |
Magic issetter. |
BP_XProfile_Field::admin_save_settings() |
Save miscellaneous settings for this field. |
BP_XProfile_Field::admin_validate() |
Validate form field data on sumbission. |
BP_XProfile_Field::default_field_hidden_inputs() |
Output hidden fields used by default field. |
BP_XProfile_Field::delete() |
Delete a profile field. |
BP_XProfile_Field::delete_children() |
Delete all field children for this field. |
BP_XProfile_Field::delete_for_group() |
Delete all fields in a field group. |
BP_XProfile_Field::fill_data() |
Fill object vars based on data passed to the method. |
BP_XProfile_Field::get_allow_custom_visibility() |
Get whether the field’s default visibility can be overridden by users. |
BP_XProfile_Field::get_alternate_name() |
Get alternate name of the field. |
BP_XProfile_Field::get_children() |
Get all child fields for this field ID. |
BP_XProfile_Field::get_default_visibility() |
Get the field’s default visibility setting. |
BP_XProfile_Field::get_do_autolink() |
Get whether the field values should be auto-linked to a directory search. |
BP_XProfile_Field::get_field_data() |
Get field data for a user ID. |
BP_XProfile_Field::get_fields_for_member_type() |
Gets the IDs of fields applicable for a given profile type or array of profile types. |
BP_XProfile_Field::get_id_from_name() |
Get field ID from field name. |
BP_XProfile_Field::get_instance() |
Retrieve a `BP_XProfile_Field` instance. |
BP_XProfile_Field::get_member_type_label() |
Gets a label representing the field’s profile types. |
BP_XProfile_Field::get_member_types() |
Gets the profile types to which this field should be available. |
BP_XProfile_Field::get_type() |
Get the type for provided field ID. |
BP_XProfile_Field::is_default_field() |
Return if a field ID is the default field. |
BP_XProfile_Field::member_type_metabox() |
Private method used to output field profile type metabox. |
BP_XProfile_Field::name_and_description() |
Private method used to output field name and description fields. |
BP_XProfile_Field::populate() |
Populate a profile field object. |
BP_XProfile_Field::render_admin_form() |
Output the admin form for this field. |
BP_XProfile_Field::render_admin_form_children() |
Populates the items for radio buttons, checkboxes, and dropdown boxes. |
BP_XProfile_Field::required_metabox() |
Output the metabox for setting if field is required or not. |
BP_XProfile_Field::save() |
Save a profile field. |
BP_XProfile_Field::set_member_types() |
Sets the profile types for this field. |
BP_XProfile_Field::submit_metabox() |
Private method used to display the submit metabox. |
BP_XProfile_Field::type_metabox() |
Output the metabox for setting what type of field this is. |
BP_XProfile_Field::update_position() |
Update field position and/or field group when relocating. |
BP_XProfile_Field::visibility_metabox() |
Private method used to output field visibility metaboxes. |
BP_XProfile_Group::__construct() |
Initialize and/or populate profile field group. |
BP_XProfile_Group::admin_validate() |
Validate field group when form submitted. |