• Resolved jazzu

    (@jazzu)


    Hello!

    Is there a way to use the php code that I have for my custom emails? I want the email when a new customer registers to look the same as all the other emails on the site.

    Kind regards

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    HI @jazzu

    I hope you’re well today!

    I’m not quite sure what exactly your code does and how it works but you can’t “inject” PHP code into e-mail notification. What you can do instead would be to use a code like this to customize the message:

    https://gist.github.com/adczk/755d069e7afbe928f5072aedfa73cd5b

    This particular code is aimed to affect new user registration e-mail and adjust message subject and content so, I believe, you may be able to tweak it to suit your needs.

    The code is meant to be used as MU plugin

    Best regards,
    Adam

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @jazzu ,

    We haven’t heard from you for some time now, so it looks like you don’t need our assistance anymore.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a way to use php code for an email notification’ is closed to new replies.