Automattic\WooCommerce\Admin\Notes\MerchantEmailNotifications
NotificationEmail::__construct() public WC 1.0
Constructor.
{} Это метод класса: NotificationEmail{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$NotificationEmail = new NotificationEmail(); $NotificationEmail->__construct( $note );
- $note(Note) (обязательный)
- The notification to send.
Код NotificationEmail::__construct() NotificationEmail:: construct WC 5.0.0
public function __construct( $note ) {
$this->note = $note;
$this->id = 'merchant_notification';
$this->template_base = WC_ADMIN_ABSPATH . 'includes/emails/';
// Call parent constructor.
parent::__construct();
}