Functions |
Description |
---|---|
xprofile_delete_field() |
Delete a profile field object. |
xprofile_delete_field_data() |
Delete XProfile field data. |
xprofile_delete_field_group() |
Delete a specific profile field group. |
xprofile_filter_comments() |
Ensures that BP data appears in comments array. |
xprofile_filter_field_edit_name() |
Conditionally filters ‘bp_get_the_profile_field_name’ to return alternate name if available. |
xprofile_filter_format_field_value() |
Runs stripslashes on XProfile fields. |
xprofile_filter_format_field_value_by_field_id() |
Apply display_filter() filters as defined by the BP_XProfile_Field_Type classes, when fetched by xprofile_get_field_data(). |
xprofile_filter_format_field_value_by_type() |
Apply display_filter() filters as defined by BP_XProfile_Field_Type classes, when inside a bp_has_profile() loop. |
xprofile_filter_get_user_display_name() |
Conditionally filters ‘bp_core_get_user_displayname’ to return user diaplay name from xprofile. |
xprofile_filter_kses() |
Run profile field values through kses with filterable allowed tags. |
xprofile_filter_link_profile_data() |
Filter an Extended Profile field value, and attempt to make clickable links to members search results out of them. |
xprofile_filter_pre_validate_value_by_field_type() |
Apply pre_validate_filter() filters as defined by the BP_XProfile_Field_Type classes before validating. |
xprofile_format_notifications() |
Format notifications for the extended profile (Xprofile) component. |
xprofile_format_profile_field() |
Formats a profile field according to its type. [ TODO: Should really be moved to filters ] |
xprofile_get_field() |
Get a profile field object. |
xprofile_get_field_data() |
Fetches profile data for a specific field for the user. |
xprofile_get_field_group() |
Get a specific profile field group. |
xprofile_get_field_id_from_name() |
Returns the ID for the field based on the field name. |
xprofile_get_field_visibility_level() |
Get the visibility level for a field. |
xprofile_get_profile() | |
xprofile_get_random_profile_data() |
Fetches a random piece of profile data for the user. |
xprofile_insert_field() |
Insert or update an xprofile field. |
xprofile_insert_field_group() |
Insert a new profile field group. |
xprofile_override_user_fullnames() |
Replace the displayed and logged-in users fullnames with the xprofile name, if required. |
xprofile_record_activity() |
Records activity for the logged in user within the profile component so that it will show in the users activity feed (if installed). |
xprofile_register_activity_action() |
Register an activity action for the Profile Fields component. |
xprofile_register_activity_actions() |
Register the activity actions for the Extended Profile component. |
xprofile_remove_data() |
When a user is deleted, we need to clean up the database and remove all the profile data from each table. Also we need to clean anything up in the usermeta table that this component uses. |
xprofile_sanitize_data_value_before_display() |
Filters profile field values for whitelisted HTML. |
xprofile_sanitize_data_value_before_save() |
Safely runs profile field data through kses and force_balance_tags. |
xprofile_screen_change_avatar() |
Handles the uploading and cropping of a user avatar. Displays the change avatar page. |
xprofile_screen_change_cover_image() |
Displays the change cover photo page. |
xprofile_screen_display_profile() |
Handles the display of the profile page by loading the correct template file. |
xprofile_screen_edit_profile() |
Handles the display of the profile edit page by loading the correct template file. |
xprofile_set_field_data() |
A simple function to set profile data for a specific field for a specific user. |
xprofile_set_field_visibility_level() |
Set the visibility level for this field. |
xprofile_sync_bp_profile() |
Syncs the standard built in WordPress profile data to XProfile. |
xprofile_sync_wp_profile() |
Sync xprofile data to the standard built in WordPress profile data. |
xprofile_sync_wp_profile_on_single_field_set() |
Update the WP display, last, and first name fields when the xprofile display name field is updated. |
xprofile_update_clone_positions_on_template_position_update() |
Update position and group_id for all clone fields when a template/main field’s order is changed. |
xprofile_update_clones_on_template_update() |
Update repeater/clone fields when the main/template field is updated. |
xprofile_update_display_names() |
Update member display names. |
xprofile_update_field_group_position() |
Update the position of a specific profile field group. |
xprofile_update_field_position() |
Update the field position for a provided field. |
xprofile_validate_field() |
Validate profile field. |