Filter: um_add_user_frontend_submitted

apply_filters( 'um_add_user_frontend_submitted', $submitted, $form_data ) → {array}

Filters user data submitted by a registration form.

Note: Data is already sanitized here.

Parameters:
Name Type Description
$submitted array

Submitted registration data.

$form_data array

UM form data. Since 2.6.7

Since:
  • 1.3.x
Source:
Returns:

Extended registration data.

Type
array
Example

Extends registration data.

function my_add_user_frontend_submitted( $submitted, $form_data ) {
    // your code here
    return $submitted;
}
add_filter( 'um_add_user_frontend_submitted', 'my_add_user_frontend_submitted', 10, 2 );