do_action( 'um_registration_complete', $user_id, $submitted_data, $form_data )
Fires after complete UM user registration. Note: Native redirects handlers at 100 priority, you can add some info before redirects.
Internal Ultimate Member callbacks (Priority -> Callback name -> Excerpt):
10 - um_send_registration_notification()
Send notifications.
100 - um_check_user_status()
Redirect after registration based on user status.
Parameters:
Name | Type | Description |
---|---|---|
$user_id |
int | User ID. |
$submitted_data |
array | $_POST Submission array. |
$form_data |
array | UM form data. Since 2.6.7 |
- Since:
- 2.0
- Source:
Example
function my_registration_complete( $user_id, $submitted_data, $form_data ) {
// your code here
}
add_action( 'um_registration_complete', 'my_registration_complete', 10, 3 );