WC_Email_Admin_Payment_Gateway_Enabled::exclude_from_order_details
Add this email to the list of emails without order details.
Метод класса: WC_Email_Admin_Payment_Gateway_Enabled{}
Хуков нет.
Возвращает
array.
Использование
$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 of email IDs.
Список изменений
| С версии 10.6.0 | Введена. |
Код WC_Email_Admin_Payment_Gateway_Enabled::exclude_from_order_details() WC Email Admin Payment Gateway Enabled::exclude from order details WC 11.2.2
public function exclude_from_order_details( $emails_without_order_details ) {
$emails_without_order_details[] = 'admin_payment_gateway_enabled';
return $emails_without_order_details;
}