um_before_save_registration_details

Hook type

Action

Description

Action on user registration before save details

Parameters

$user_id

(int) User ID

$submitted

(array) Registration form submitted

Usage

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

Examples

<?php
add_action( 'um_before_save_registration_details', 'my_before_save_registration_details', 10, 2 );
function my_before_save_registration_details( $user_id, $submitted ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_before_save_registration_details is located in includes/core/class-user.php::line 899