Possible to add filter based on if statement? (email – wordpress@)
-
I understand filters on a basic level. I can replace the from email option
However, is it possible to apply a filter in a functions.php or mu plugin when its conditional.
Ie, I want to allow plugins to give people the option on modifying the from address, and I only wish to replace the from of [email protected] if from == wordpress
Is that an option?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Possible to add filter based on if statement? (email – wordpress@)’ is closed to new replies.