gdmaq_phpmailer_is_eligible

Developer Knowledge Level

This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!

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.

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.
0
0
359
Rate this reference

You are not allowed to rate this post.

Leave a Comment