Automattic\WooCommerce\Internal\StockNotifications\Emails
CustomerStockNotificationEmail::get_default_subject
Get email subject.
Method of the class: CustomerStockNotificationEmail{}
No Hooks.
Returns
String.
Usage
$CustomerStockNotificationEmail = new CustomerStockNotificationEmail(); $CustomerStockNotificationEmail->get_default_subject();
CustomerStockNotificationEmail::get_default_subject() CustomerStockNotificationEmail::get default subject code WC 10.3.6
public function get_default_subject() {
return __( '"{product_name}" is back in stock!', 'woocommerce' );
}