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

WC_Email_Customer_Note::__construct() public WC 1.0

Constructor.

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

Хуков нет.

Возвращает

Null. Ничего.

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

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

Код WC_Email_Customer_Note::__construct() WC 4.7.1

<?php
public function __construct() {
	$this->id             = 'customer_note';
	$this->customer_email = true;
	$this->title          = __( 'Customer note', 'woocommerce' );
	$this->description    = __( 'Customer note emails are sent when you add a note to an order.', 'woocommerce' );
	$this->template_html  = 'emails/customer-note.php';
	$this->template_plain = 'emails/plain/customer-note.php';
	$this->placeholders   = array(
		'{order_date}'   => '',
		'{order_number}' => '',
	);

	// Triggers.
	add_action( 'woocommerce_new_customer_note_notification', array( $this, 'trigger' ) );

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