um_user_register_submitted__email

Hook type

Filter

Description

Change user default email if it's empty on registration

Parameters

$user_email

(string) Default email

Usage

<?php add_filter( 'um_user_register_submitted__email', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_user_register_submitted__email', 'my_user_register_submitted__email', 10, 1 );
function my_user_register_submitted__email( $user_email ) {
    // your code here
return $user_email;
}
?>

Change Log

Since: 2.0

Source

um_user_register_submitted__email is located in includes/core/um-actions-register.php::line 320