Automattic\WooCommerce\Internal\Admin\EmailPreview

EmailPreviewRestController::__construct()publicWC 1.0

The constructor.

Метод класса: EmailPreviewRestController{}

Хуков нет.

Возвращает

null. Ничего (null).

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

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

Код EmailPreviewRestController::__construct() WC 9.6.1

public function __construct() {
	$this->email_preview = wc_get_container()->get( EmailPreview::class );
}