mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Add third parameter $args to the action hook for Profile Tab redirections
There was an issue with attaching the Profile tab redirection to `um_after_user_updated` because the file couldn't upload in a custom tab because it doesn't reach the `UM()->uploader()->move_temporary_files` after saving the profile with uploaded files and images. Attaching it to `um_user_after_updating_profile` resolves the issue.
This commit is contained in:
@@ -536,7 +536,7 @@ function um_user_edit_profile( $args ) {
|
||||
* }
|
||||
* ?>
|
||||
*/
|
||||
do_action( 'um_user_after_updating_profile', $to_update, $user_id );
|
||||
do_action( 'um_user_after_updating_profile', $to_update, $user_id, $args );
|
||||
|
||||
/**
|
||||
* UM hook
|
||||
|
||||
Reference in New Issue
Block a user