In one of my plugins I am using qa_send_notification() but need to specify another sender (it is the same domain but another prefix, e.g. email@example.com)
I actually need to change only one line:
'fromemail' => qa_opt('from_email'), // should be my custom sender email
'fromname' => qa_opt('site_title'),
Now I thought of using function overrides. To change qa_opt('from_email') and set it back after the call of the original function. However, messing around with a database option seems not the right way.
Does anyone else have an idea how to solve this?