Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save champsupertramp/be57581cd2f352a3cca7 to your computer and use it in GitHub Desktop.
Save champsupertramp/be57581cd2f352a3cca7 to your computer and use it in GitHub Desktop.
Ultimate Member - Modify fields values on Profile Edit submit
<?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 ) ;
}
?>
@Sailingmike
Copy link

I need profile to show all custom fields when a user logs in without they have to look for edit profile?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment