Hooks
Description
xprofile_avatar_upload_dir

Filters the avatar upload directory for a user.

Source: bp-xprofile/bp-xprofile-functions.php:782

xprofile_avatar_uploaded

Fires right before the redirect, after processing a new avatar.

Source: bp-xprofile/screens/change-avatar.php:78

xprofile_cover_image_deleted

Fires if the cover photo was successfully deleted.

Source: bp-members/classes/class-bp-rest-attachments-member-cover-endpoint.php:337

xprofile_data_after_delete

Fires after the current profile data instance gets deleted.

Source: bp-xprofile/classes/class-bp-xprofile-profiledata.php:308

xprofile_data_after_save

Fires after the current profile data instance gets saved.

Source: bp-xprofile/classes/class-bp-xprofile-profiledata.php:264

xprofile_data_before_delete

Fires before the current profile data instance gets deleted.

Source: bp-xprofile/classes/class-bp-xprofile-profiledata.php:294

xprofile_data_before_save

Fires before the current profile data instance gets saved.

Source: bp-xprofile/classes/class-bp-xprofile-profiledata.php:237

xprofile_data_exists

Filters whether or not data already exists for the user.

Source: bp-xprofile/classes/class-bp-xprofile-profiledata.php:145

xprofile_data_field_id_before_save

Filters the data’s field ID before saving to the database.

Source: bp-xprofile/classes/class-bp-xprofile-profiledata.php:203

xprofile_data_is_valid_field

Filters whether or not data is for a valid field.

Source: bp-xprofile/classes/class-bp-xprofile-profiledata.php:170

xprofile_data_last_updated_before_save

Filters the data’s last updated timestamp before saving to the database.

Source: bp-xprofile/classes/class-bp-xprofile-profiledata.php:226

xprofile_data_user_id_before_save

Filters the data’s user ID before saving to the database.

Source: bp-xprofile/classes/class-bp-xprofile-profiledata.php:193

xprofile_data_value_before_save

Filters the data’s value before saving to the database.

Source: bp-xprofile/classes/class-bp-xprofile-profiledata.php:216

xprofile_field_after_contentbox

Fires after XProfile Field content metabox.

Source: bp-xprofile/classes/class-bp-xprofile-field.php:1425

xprofile_field_after_delete

Fires after the current field instance gets deleted.

Source: bp-xprofile/classes/class-bp-xprofile-field.php:413

xprofile_field_after_save

Fires after the current field instance gets saved.

Source: bp-xprofile/classes/class-bp-xprofile-field.php:562

xprofile_field_after_sidebarbox

Fires after XProfile Field sidebar metabox.

Source: bp-xprofile/classes/class-bp-xprofile-field.php:1394

xprofile_field_after_submitbox

Fires after XProfile Field submit metabox.

Source: bp-xprofile/classes/class-bp-xprofile-field.php:1517

xprofile_field_before_contentbox

Fires before XProfile Field content metabox.

Source: bp-xprofile/classes/class-bp-xprofile-field.php:1410

xprofile_field_before_delete

Fires before the current field instance gets deleted.

Source: bp-xprofile/classes/class-bp-xprofile-field.php:388

xprofile_field_before_save

Fires before the current field instance gets saved.

Source: bp-xprofile/classes/class-bp-xprofile-field.php:453

xprofile_field_before_submitbox

Fires before XProfile Field submit metabox.

Source: bp-xprofile/classes/class-bp-xprofile-field.php:1462

xprofile_field_default_before_save

Filters the default field option value before saved.

Source: bp-xprofile/classes/class-bp-xprofile-field.php:526

xprofile_field_options_before_save

Filters the submitted field option value before saved.

Source: bp-xprofile/classes/class-bp-xprofile-field.php:516

xprofile_field_submitbox_start

Fires at the beginning of the XProfile Field publishing actions section.

Source: bp-xprofile/classes/class-bp-xprofile-field.php:1480

xprofile_field_types

Filters the supported field type IDs.

Source: bp-xprofile/classes/class-bp-xprofile-component.php:171

xprofile_fields_deleted_field

Fires at the end of the field deletion process, if successful.

Source: bp-xprofile/bp-xprofile-admin.php:713

xprofile_fields_saved_field

Fires at the end of the process to save a field for a user, if successful.

Source: bp-xprofile/bp-xprofile-admin.php:648

xprofile_filter_profile_group_tabs

Filters the tabs to display for profile field groups.

Source: bp-xprofile/bp-xprofile-template.php:1179

xprofile_filtered_data_value_before_save

Filters the kses-filtered data before saving to database.

Source: bp-xprofile/bp-xprofile-filters.php:275

xprofile_get_field_data

Filters the field data value for a specific field for the user.

Source: bp-xprofile/bp-xprofile-functions.php:407

xprofile_get_random_profile_data

Filters a random piece of profile data for the user.

Source: bp-xprofile/bp-xprofile-functions.php:675

xprofile_group_admin_after_description

Fires after the XProfile group description field is rendered in wp-admin.

Source: bp-xprofile/classes/class-bp-xprofile-group.php:891

xprofile_group_after_delete

Fires after the current group instance gets deleted.

Source: bp-xprofile/classes/class-bp-xprofile-group.php:233

xprofile_group_after_save

Fires after the current group instance gets saved.

Source: bp-xprofile/classes/class-bp-xprofile-group.php:175

xprofile_group_after_submitbox

Fires after XProfile Group submit metabox.

Source: bp-xprofile/classes/class-bp-xprofile-group.php:953

xprofile_group_before_delete

Fires before the current group instance gets deleted.

Source: bp-xprofile/classes/class-bp-xprofile-group.php:204

xprofile_group_before_save

Fires before the current group instance gets saved.

Source: bp-xprofile/classes/class-bp-xprofile-group.php:140

xprofile_group_before_submitbox

Fires before XProfile Group submit metabox.

Source: bp-xprofile/classes/class-bp-xprofile-group.php:907

xprofile_group_fields

Filters the group fields for the next_group method.

Source: bp-xprofile/classes/class-bp-xprofile-data-template.php:211

xprofile_group_submitbox_start

Fires at the beginning of the XProfile Group publishing actions section.

Source: bp-xprofile/classes/class-bp-xprofile-group.php:928

xprofile_groups_deleted_group

Fires at the end of group deletion process, if successful.

Source: bp-xprofile/bp-xprofile-admin.php:482

xprofile_groups_saved_group

Fires at the end of the group adding/saving process, if successful.

Source: bp-xprofile/bp-xprofile-admin.php:441

xprofile_nickname_max_length

UPDATE and DELETE: – replace ‘xprofile_{fieldtype}_id’ with ‘object_id’ – ensure that the object_type field gets filled in

Source: bp-xprofile/bp-xprofile-filters.php:785

xprofile_pc_user_progress

Filter returns User Progress array.

Source: bp-xprofile/bp-xprofile-functions.php:2212

xprofile_pc_user_progress_formatted

Filter returns User Progress array in the template friendly format.

Source: bp-xprofile/bp-xprofile-functions.php:2298

xprofile_profile_completion_form

Fires after showing last field in the Widget form.

Source: bp-xprofile/classes/class-bp-xprofile-profile-completion-widget.php:217

xprofile_profile_completion_form_update

Fires when updating widget form settings.

Source: bp-xprofile/classes/class-bp-xprofile-profile-completion-widget.php:114

xprofile_profile_completion_widget

Fires after showing widget content.

Source: bp-xprofile/classes/class-bp-xprofile-profile-completion-widget.php:93

xprofile_profile_field_data_updated

Fires on each iteration of an XProfile field being saved with no error.

Source: bp-xprofile/screens/edit.php:189