Send Email on “Submit for Review”

When you have a contributor or some other role that can create posts but not publish them they need to “Submit for Review”. Well of course if the admin doesn’t know this is submitted then…they wont know it has been submitted. So let’s notify them!

You’ll notice I am only sending this email if the user role is ‘agency’ and the post type is a ‘tribe_event’ so that we are not spamming the admin with these.