Action: um_user_register

do_action( 'um_user_register', $user_id, $args, $form_data )

Fires after complete UM user registration.

Internal Ultimate Member callbacks (Priority -> Callback name -> Excerpt): 1 - um_after_insert_user() Make all Ultimate Member data set and actions after user registration|added via wp-admin.

Parameters:
Name Type Description
$user_id int

User ID.

$args array

Form data.

$form_data array

UM form data. Since 2.6.7

Since:
  • 2.0
Source:
Example

Make any custom action after complete UM user registration.

function my_um_user_register( $user_id, $args, $form_data ) {
    // your code here
}
add_action( 'um_user_register', 'my_um_user_register', 10, 3 );