Automattic\WooCommerce\Internal\StockNotifications\Emails
CustomerStockNotificationVerifiedEmail::__construct
Constructor.
Method of the class: CustomerStockNotificationVerifiedEmail{}
No Hooks.
Returns
null. Nothing (null).
Usage
$CustomerStockNotificationVerifiedEmail = new CustomerStockNotificationVerifiedEmail(); $CustomerStockNotificationVerifiedEmail->__construct();
CustomerStockNotificationVerifiedEmail::__construct() CustomerStockNotificationVerifiedEmail:: construct code WC 10.3.6
public function __construct() {
$this->id = 'customer_stock_notification_verified';
$this->customer_email = true;
$this->title = __( 'Back in stock sign-up confirmation', 'woocommerce' );
$this->description = __( 'Email sent to customers after completing the sign-up process successfully.', 'woocommerce' );
$this->template_html = 'emails/customer-stock-notification-verified.php';
$this->template_plain = 'emails/plain/customer-stock-notification-verified.php';
$this->placeholders = array(
'{product_name}' => '',
'{site_title}' => '',
);
add_action( 'woocommerce_email_stock_notification_verified_notification', array( $this, 'trigger' ), 10, 1 );
// Call parent constructor.
parent::__construct();
}