um_registration_complete

Hook type

Action

Description

After complete UM user registration. Redirects handlers at 100 priority, you can add some info before redirects

Parameters

$user_id

(int) User ID

$args

(array) Form data

Usage

add_action( 'um_registration_complete', 'function_name', 10, 2 );

Examples

<?php
add_action( 'um_registration_complete', 'my_registration_complete', 10, 2 );
function my_registration_complete( $user_id, $args ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_registration_complete is located in includes/core/um-actions-register.php::line 95