mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- setting label changed;
- added filter hook 'um_change_usermeta_for_update' for extending $to_update usermeta array after all profile fields validations;
This commit is contained in:
@@ -363,6 +363,9 @@ function um_user_edit_profile( $args ) {
|
||||
|
||||
}
|
||||
|
||||
// use this filter after all validations has been completed and we can extends data based on key
|
||||
$to_update = apply_filters( 'um_change_usermeta_for_update', $to_update, $args, $fields, $key );
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user