Modifying Site Admin Mail
The filter newuser_notify_siteadmin allows one to modify the mail Administrators receive when new users register.
I have tried everything to access the custom profile fields to no avail. Is it possible that they are not written to the DB until after this filter is called? All SELECT statements in the filter returned no results but afterwards I ran the same SQL on the DB and got the fields.
Next I tried adding visible fields to the register form using the signup_hidden_fields action. These fields should have been available as $_POST variables but were not. When I access $POST in the filter newuser_notify_siteadmin it’s completely empty.
Why is it so difficult to enrich the admin mail with fields???
You must be logged in to reply to this topic.