
WP Custom Email gives you full control over the WordPress password reset email template. It allows you to create and manage your own email templates with ease, enhancing both branding and user experience.
Features
-
Customize the password reset email template.
-
Use your own HTML or plain text design.
-
Easily swap templates by adding new files.
-
Visual preview via matching .jpg image thumbnails.
Template Setup
To create a custom email template, follow these steps:
- Create a new PHP file in the plugin’s email-template directory.
- Example:
/wp-content/plugins/wp-custom-email/email-template/my-template.php
- Create a function inside the file named email_template, which accepts the following parameters:
Parameters Description
Parameter | Description |
$custom_link | The reset password link with token |
$email_logo | Logo URL to be displayed in the email |
$email_heading | Main Heading of the email |
$email_sub_heading | Sub-heading or brieft context |
$email_password_reset_button | Button text for the password reset action |
$email_info_text | Additional information or note to user |
$email_footer_text | Footer text (Ususally your site name or copyright) |
$message | The default or generated message body |
$key | Password reset key (security toke) |
$user_login | The user’s login or username |
Template Image
Preview Image: Add a .jpg image in the same folder with the same name as your template file.
Example: my-template.php ➡ my-template.jpg
Notes
- The email_template function must return the full email content as a string.
- Returned content can be either plain text or HTML.
- Only one template will be used at a time — selected via plugin settings (if applicable).
- Ensure your template file has valid PHP syntax and all required parameters.
Only logged in customers who have purchased this product may leave a review.
Loading...
Raza Dev supports this product Supported
Product support includes:
- ✔ The seller will answer product related questions
- ✔ Assistance with reported bugs and issues
- ✔ Help with included third-party assets
However, product support does not include:
- ✖ Customization services
- ✖ Installation services
Reviews
There are no reviews yet.