Automattic\WooCommerce\Internal\EmailEditor

Integration::send_preview_email_after_wp_mailpublicWC 10.6.0

Action hook callback after sending the preview email via wp_mail.

Method of the class: Integration{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Integration = new Integration();
$Integration->send_preview_email_after_wp_mail();

Changelog

Since 10.6.0 Introduced.

Integration::send_preview_email_after_wp_mail() code WC 10.8.1

public function send_preview_email_after_wp_mail() {
	remove_filter( 'wp_mail_from', array( $this->wc_email_instance, 'get_from_address' ) );
	remove_filter( 'wp_mail_from_name', array( $this->wc_email_instance, 'get_from_name' ) );
}