• Resolved yangantondini

    (@yangantondini)


    I want to be able to configure the message the user receives when they first register. I would specifically like to remove the email link that comes with New User Approve, how can I do this?

Viewing 1 replies (of 1 total)
  • Hi @yangantondini,

    Thanks for using New User Approve,

    The hook for modifying the user welcome email

    Filter Hook:
    new_user_approve_welcome_user_message

    Arguments:
    $message, $user_email

    You can paste the below code in your child theme’s functions.php file and replace the customized message text with the desired message.

    add_filter( 'new_user_approve_welcome_user_message', 'nua_welcome_email_message_callback', 10, 2 );
    
    function nua_welcome_email_message_callback( $message, $user_email ) {
            $message = '';
    	$message = __('customized message', 'new-user-approve');
    	
    	return $message;
    }

    Thanks

Viewing 1 replies (of 1 total)

The topic ‘Edit Registration Email link’ is closed to new replies.