How to add and use custom email templates

Use the  um_email_notifications hook to add custom templates.

Use the  UM()->mail()->send( $email, $template, $args ); method to send email based on template. Optional argument $args allow to extend placeholders array.

You can add your custom code to the functions.php file in your active theme directory. Using a child theme is recommended.

Custom emails are shown on  wp-admin > Ultimate Member > Settings > Email. Administrator can edit custom email templates in the same way as default email templates.

How to add and call custom email templates (example)

NOTE: We are not able to provide any support when it comes to customizing the plugin. We created this code example to provide guidance only.

How to edit custom email templates

wp-admin > Ultimate Member > Settings > Email

wp-admin > Ultimate Member > Settings > Email > Edit