Hi @bgcollado,
Thanks for using the New User Approve plugin, Kindly add the code in your child theme”s functions.php file to hide the welcome message from the remember password page.
add_filter( 'new_user_approve_welcome_message_default', 'funct_nua_approve_message', 10, 1 );
function funct_nua_approve_message( $message ){
if(is_page( 'checkemail' )){
return "";
}
}
Let us know if you have any questions.
Hi,
It works perfect.
Thank you for fast reply!
Hi again,
I updated to wordpress 5.7.1 and the code has stopped working.
Can you help me, please?
Thank you,
Hi,
Now, the plugin doesn’t works anywhere.
Thanks,
Hi @bgcollado,
Our technical team needs more details regarding the issue so kindly open a support ticket on our official website.
Thanks
Hi,
Looks like the plugin works fine. The problem is what the previous code hide the message in all pages.
Thanks
Hi @bgcollado,
It’s glad to from you that the issue is resolved now.
Let us know if you have any questions. We would love to assist you.
Thanks
Hi,
I have the first problem now… “Is there a way to hide the welcome message in remember password page?” because the code that you gave me hide message in all pages not only in remember password page.
Thank you,
Hi @bgcollado,
Please try this code:
add_filter( 'new_user_approve_welcome_message_default', 'funct_nua_approve_message', 10, 1 );
function funct_nua_approve_message( $message ){
if(is_page( 'checkemail' )){
return "";
}
return $message;
}
Thanks