Automattic\WooCommerce\Internal\Admin\EmailPreview
EmailPreviewRestController::__construct()
The constructor.
Метод класса: EmailPreviewRestController{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$EmailPreviewRestController = new EmailPreviewRestController(); $EmailPreviewRestController->__construct();
Код EmailPreviewRestController::__construct() EmailPreviewRestController:: construct WC 9.6.1
public function __construct() { $this->email_preview = wc_get_container()->get( EmailPreview::class ); }