Before you try customising 2FA email content, we highly recommend you to read this guidelines here first.
In this example, email content we're going to customise is "Two-Factor Authentication Code".
Step 1: Create directory in your theme
Go to your File Manager (i.e. FileZilla) and create "shield_templates" directory within your theme. And then, inside this directory, create a directory "email":
Step 2: Copy the file to the "email" directory
Locate "lp_2fa_email_code.twig" file - /wp-content/plugins/wp-simple-firewall/templates/twig/email/lp_2fa_email_code.twig :
And then, copy this file (do not delete or move it) to the new "email" directory you created within your theme (step 1):
The original email template content is:
If we keep this original content, our users will get the following 2FA email:
Now, we want to customise this content.
Step 3: Customise 2FA email content
For example, we want simple text to appear to our users, something like:
This is your 2FA login verification code: xxxx
Thank you for being our customer.
To do this, click to edit the "lp_2fa_email_code.twig" file and change the content to:
Your users will get this 2FA email:
Note: If you want to customise company or plugin name, you can do that by using White Label for Shield Security.