do_action( 'um_before_save_registration_details', $user_id, $submitted_data, $form_data )
Fires before save registration details to the user.
Parameters:
Name | Type | Description |
---|---|---|
$user_id |
int | User ID. |
$submitted_data |
array | $_POST Submission array. |
$form_data |
array | Form data. Since 2.6.8. |
- Since:
- 1.3.x
- Source:
Example
function my_before_save_registration_details( $user_id, $submitted_data, $form_data ) {
// your code here
}
add_action( 'um_before_save_registration_details', 'my_before_save_registration_details', 10, 3 );