Skip to main content
7 events
when toggle format what by license comment
May 8, 2016 at 13:28 comment added jameslcarton Yes, didn't realize the process for the other role I was trying to register until I got in there and tried to use the code you provided. I'll tinker around with it some more as I'm sure the code you provided works! Thanks again!
May 8, 2016 at 13:26 vote accept jameslcarton
May 7, 2016 at 23:01 comment added N00b That's great that you found a solution. Only reason this could not work is that your own roles on registration were set after this code runs. I tried it and it worked with default user roles. I would still accept this answer because you didn't mention WooCommerce (which is off-topic anyway) and this is the answer to "different emails to different roles in WordPress core".
May 7, 2016 at 22:51 comment added jameslcarton Thank you for the extensive response to this request, appreciate it very much! Unfortunately when I plugged it in, it didn't send any email. Rather than bugging you and going back and forth to debug I found a solution. Come to find there were two different systems at work when registering. Registering the photographer role was done through wordrpess' account registration and the subscriber role creation was handled by woocommerce. This helped out since all I had to do was change the generic response for the wordpress registration & then change the account registration template for woocommerce.
May 2, 2016 at 18:42 history edited N00b CC BY-SA 3.0
deleted 22 characters in body
May 2, 2016 at 18:36 history edited N00b CC BY-SA 3.0
added 449 characters in body
May 2, 2016 at 18:21 history answered N00b CC BY-SA 3.0