Created
January 7, 2016 01:46
-
-
Save champsupertramp/be57581cd2f352a3cca7 to your computer and use it in GitHub Desktop.
Ultimate Member - Modify fields values on Profile Edit submit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Ultimate Member - Custom Profile Submit | |
* You can also use 'um_user_edit_profile' when there's no validation errors | |
*/ | |
add_action("um_user_profile_extra_hook","um_custom_user_profile_extra_hook", 10, 1); | |
function um_custom_user_profile_extra_hook( $args ){ | |
// var_dump ( $args ) ; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need profile to show all custom fields when a user logs in without they have to look for edit profile?