um_post_registration_{$status}_hook

Hook type

Action

Description

After complete UM user registration.

Parameters

$user_id

(int) User ID

$args

(array) Form data

Usage

add_action( 'um_post_registration_{$status}_hook', 'function_name', 10, 2 );

Examples

<?php
add_action( 'um_post_registration_{$status}_hook', 'my_post_registration', 10, 2 );
function my_post_registration( $user_id, $args ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_post_registration_{$status}_hook is located in includes/core/um-actions-register.php::line 147