Change admin email according to field input
-
Fantastic Plugin.
Is there a way to change the admin email according to the input in a certain field?
I saw this article:
https://rocketgeek.com/plugins/wp-members/users-guide/filter-hooks/wpmem_notify_addr/
I can certainly use this filter. I just need to know how to check for a value in a field, i.e. :
if( this_field = somevalue ) {
$email = ‘[email protected]’;
}
else {
$email = ‘[email protected]’;
}Does that make sense?
Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Change admin email according to field input’ is closed to new replies.