updated plugin WP Mail SMTP version 2.0.0

This commit is contained in:
2020-05-04 15:57:12 +00:00
committed by Gitium
parent 6a7ce488aa
commit 57b2d39b8f
321 changed files with 18242 additions and 5880 deletions

View File

@ -27,8 +27,9 @@ class Processor {
add_action( 'phpmailer_init', array( $this, 'phpmailer_init' ) );
add_filter( 'wp_mail_from', array( $this, 'filter_mail_from_email' ), 1000 );
add_filter( 'wp_mail_from_name', array( $this, 'filter_mail_from_name' ), 1000 );
// High priority number tries to ensure our plugin code executes last and respects previous hooks, if not forced.
add_filter( 'wp_mail_from', array( $this, 'filter_mail_from_email' ), PHP_INT_MAX );
add_filter( 'wp_mail_from_name', array( $this, 'filter_mail_from_name' ), PHP_INT_MAX );
}
/**
@ -233,7 +234,7 @@ class Processor {
/**
* Get or create the phpmailer.
*
* @since {VERSION}
* @since 1.9.0
*
* @return \WPMailSMTP\MailCatcher
*/