- 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:
nikitasinelnikov
2021-04-30 17:05:08 +03:00
parent ea496625f8
commit 383e563e53
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -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 );
}
}
}