WC_Email_Admin_Payment_Gateway_Enabled::exclude_from_order_detailspublicWC 10.6.0

Add this email to the list of emails without order details.

Method of the class: WC_Email_Admin_Payment_Gateway_Enabled{}

No Hooks.

Returns

Array.

Usage

$WC_Email_Admin_Payment_Gateway_Enabled = new WC_Email_Admin_Payment_Gateway_Enabled();
$WC_Email_Admin_Payment_Gateway_Enabled->exclude_from_order_details( $emails_without_order_details );
$emails_without_order_details(array) (required)
Array of email IDs.

Changelog

Since 10.6.0 Introduced.

WC_Email_Admin_Payment_Gateway_Enabled::exclude_from_order_details() code WC 10.7.0

public function exclude_from_order_details( $emails_without_order_details ) {
	$emails_without_order_details[] = 'admin_payment_gateway_enabled';
	return $emails_without_order_details;
}