• Resolved bgcollado

    (@bgcollado)


    Hi,
    Is there a way to hide the welcome message in remember password page?
    Thank you,

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • wpexpertssupportteam

    (@wpexpertssupportteam)

    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.

    Thread Starter bgcollado

    (@bgcollado)

    Hi,
    It works perfect.
    Thank you for fast reply!

    wpexpertssupportteam

    (@wpexpertssupportteam)

    Hi @bgcollado,

    Thank you.

    Thread Starter bgcollado

    (@bgcollado)

    Hi again,
    I updated to wordpress 5.7.1 and the code has stopped working.
    Can you help me, please?
    Thank you,

    Thread Starter bgcollado

    (@bgcollado)

    Hi,
    Now, the plugin doesn’t works anywhere.
    Thanks,

    wpexpertssupportteam

    (@wpexpertssupportteam)

    Hi @bgcollado,

    Our technical team needs more details regarding the issue so kindly open a support ticket on our official website.

    Thanks

    Thread Starter bgcollado

    (@bgcollado)

    Hi,
    Looks like the plugin works fine. The problem is what the previous code hide the message in all pages.
    Thanks

    wpexpertssupportteam

    (@wpexpertssupportteam)

    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

    Thread Starter bgcollado

    (@bgcollado)

    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,

    wpexpertssupportteam

    (@wpexpertssupportteam)

    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

    Thread Starter bgcollado

    (@bgcollado)

    It works, thank you!

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Hide welcome message’ is closed to new replies.