Automattic\WooCommerce\Internal\Admin\Notes
EmailNotification::__construct()
Constructor.
Метод класса: EmailNotification{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$EmailNotification = new EmailNotification(); $EmailNotification->__construct( $note );
- $note(Note) (обязательный)
- The notification to send.
Код EmailNotification::__construct() EmailNotification:: construct WC 9.6.2
public function __construct( $note ) { $this->note = $note; $this->id = 'merchant_notification'; $this->template_base = WC_ADMIN_ABSPATH . 'includes/react-admin/emails/'; $this->placeholders = array( '{greetings}' => __( 'Hi there,', 'woocommerce' ), ); // Call parent constructor. parent::__construct(); }