Best place to put filter for console_command_send_campaigns_before_send_to_subscriber

SenG

New Member
We need to perform some custom operations before mailwizz trigger mails. console_command_send_campaigns_before_send_to_subscriber filter appears to be appropriate. Where should we write our custom code utilizing these hooks?

We tried creating extension, it did appear in uploaded extensions in backend, get triggered with web applications, but console application seems to ignore them.
 
@SenG - console hooks are a bit more special, your extensions, beside containing 'console' in the $allowedApps public property, they also have to have a public $cliEnabled = true; property. Hope it helps.
 
Back
Top