This filter is run after the PHPMailer is checked for the eligibility for adding to the queue. This doesn’t mean that the email is going to queue, it is used by the method that needs to decide if the email should go into the queue.
This filter provides 3 arguments.
- $is: value can be true or false, and it is determined for each email based on the plugin settings.
- $email: object holding the mirror of all the PHPMailer settings relevant to each email.
- $queue: option value for the Queue eligibility determination with possible value: all, cc, bcc, ccbcc.