• Is it possible to override or customise the email that’s send by the ‘Manual User Verification’ option in the Front End Login module?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Uncanny Owl

    (@uncannyowl)

    In the current version of the Toolkit I’m afraid that changing these values is a bit difficult. In an upcoming release we’ll add easier translation support, but for now you can override them using the available filters. If you’re a developer, the values you want to override are uo_verified_email_subject and uo_verified_email_message. You can see how these are populated in /src/classes/frontend-login-plus.php starting from line 691 (in release 3.1.3, at least).

    Thread Starter jochundesign

    (@jochundesign)

    Thanks for your help; is this correct:

    			$subject = $blog_name . ' - Account Verified';
    
    			$subject = apply_filters( 'uo_verified_email_subject', $subject, $user );
    
    			$message = "We're delighted to let you know that your account with We Love Training has now been verified. \r\n\n";
    
    			$message = "Please log in at " . home_url() . " to access all of our online courses. \r\n";
    			
    			$message = "Thank you. \r\n";
    			
    			$message = "The We Love Training Team \r\n";
    
    			$message = apply_filters( 'uo_verified_email_message', $message, $user );

    Also, how can I call the user’s first name? My client wants the email to begin with “Dear ‘user first name'”.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customise the ‘Account Verified’ email’ is closed to new replies.