WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
функция не описана

WC_Email_Customer_On_Hold_Order::__construct() public WC 1.0

Constructor.

{} Это метод класса: WC_Email_Customer_On_Hold_Order{}

Хуков нет.

Возвращает

Null. Ничего.

Использование

$WC_Email_Customer_On_Hold_Order = new WC_Email_Customer_On_Hold_Order();
$WC_Email_Customer_On_Hold_Order->__construct();

Код WC_Email_Customer_On_Hold_Order::__construct() WC 4.7.1

<?php
public function __construct() {
	$this->id             = 'customer_on_hold_order';
	$this->customer_email = true;
	$this->title          = __( 'Order on-hold', 'woocommerce' );
	$this->description    = __( 'This is an order notification sent to customers containing order details after an order is placed on-hold.', 'woocommerce' );
	$this->template_html  = 'emails/customer-on-hold-order.php';
	$this->template_plain = 'emails/plain/customer-on-hold-order.php';
	$this->placeholders   = array(
		'{order_date}'   => '',
		'{order_number}' => '',
	);

	// Triggers for this email.
	add_action( 'woocommerce_order_status_pending_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
	add_action( 'woocommerce_order_status_failed_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
	add_action( 'woocommerce_order_status_cancelled_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );

	// Call parent constructor.
	parent::__construct();
}