Filter: um_user_register_submitted__email

apply_filters( 'um_user_register_submitted__email', $user_email ) → {string}

Filters change user default email if it's empty on registration.

Parameters:
Name Type Description
$user_email string

Default email.

Since:
  • 1.3.x
Source:
Returns:

Default customized email.

Type
string
Example

Change user default email if it's empty on registration.

function my_user_register_submitted__email( $user_email ) {
    // your code here
    return $user_email;
}
add_filter( 'um_user_register_submitted__email', 'my_user_register_submitted__email' );