Action: um_user_edit_profile

do_action( 'um_user_edit_profile', $post, $form_data )

Fires on successful submit profile form.

Internal Ultimate Member callbacks (Priority -> Callback name -> Excerpt):

  • 10 - um_user_edit_profile() Profile form main handler.
Parameters:
Name Type Description
$post array

$_POST Submission array.

$form_data array

UM form data. Since 2.6.7

Since:
  • 1.3.x
Source:
Example

Make any custom action on successful submit profile form.

function my_user_edit_profile( $post, $form_data ) {
    // your code here
}
// Don't use priority >= 10 because there is native Ultimate Member handler on it.
add_action( 'um_user_edit_profile', 'my_user_edit_profile', 9, 2 );