@rakhisystematix
5 years, 8 months ago
Hello Team,
I tried using this hook bp_core_general_settings_after_save but in $_post I also want current username as well.
bp_core_general_settings_after_save
$_post
I tried this hook
function something_updated_profile( $userId, $posted_field_ids, $errors, $old_values, $new_values ) { /*if ( empty( $errors ) ) {*/ print_r( $posted_field_ids ); echo “<br>user id: ” . $userId . “<br>”; print_r( $new_values ); die; /*}*/ } add_action(‘xprofile_updated_profile’, ‘something_updated_profile’, 1, 3);
But on the update of general settings (new password / confirm password) it’s not printing anything