The plugin intercepts wp_mail function at the point of PHPMailer initialization. The filter ‘gdmaq_mailer_phpmailer_intercept_priority’ changes the priority of that operation.

This filter provides 1 argument.

Arguments

  • $priority: The higher the value, the later it is executed. Default: 100000000.

Example

Change the priority.

add_filter('gdmaq_mailer_phpmailer_intercept_priority', 'custom__gdmaq_mailer_phpmailer_intercept_priority', 10, 1);
function custom__gdmaq_mailer_phpmailer_intercept_priority($priority) {
  $priority = 30000000;

  return $priority;
}

 

0
0
25
Rate this reference

You are not allowed to rate this post.

Comments

Leave a Reply