Dynamic Web Lab
Back to insights

How to change “Registration complete. Please check your e-mail.” message in wp-login.php

October 27, 20131 min read

You can use this filter to change the default “Registration complete. Please check your e-mail.” message on wordpress.
[php]
add_filter( ‘wp_login_errors’, ‘override_reg_complete_msg’, 10, 2 );
function override_reg_complete_msg( $errors, $redirect_to ) {
if( isset( $errors->errors[‘registered’] ) ) {
$needle = __(‘Registration complete. Please check your e-mail.’);
foreach( $errors->errors[‘registered’] as $index => $msg ) {
if( $msg === $needle ) {
$errors->errors[‘registered’][$index] = ‘Your new message here’;
}
}
}

return $errors;
}
[/php]

Thanks DaveRoss

Writer

Dynamic Web Lab Editorial

We share how we design, engineer, and scale digital products across the GCC, Europe, and the US.

Share this article

Need help implementing this?

We turn these playbooks into shipped features. Let us scope your roadmap and support your team.

Start a project conversation
How to change “Registration complete. Please check your e-mail.” message in wp-login.php - Demo Dynamic Web Lab