do_action( 'xprofile_updated_profile', int $user_id, array $posted_field_ids, bool $errors, array $old_values, array $new_values )

Fires after all XProfile fields have been saved for the current profile.

Parameters Parameters


(int) ID for the user whose profile is being saved.


(array) Array of field IDs that were edited.


(bool) Whether or not any errors occurred.


(array) Array of original values before update.


(array) Array of newly saved values after update.

Source Source

File: bp-xprofile/classes/class-bp-xprofile-user-admin.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.6.0 Added $old_values and $new_values parameters.
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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