Automattic\WooCommerce\Internal\StockNotifications\Emails
CustomerStockNotificationEmail::get_default_heading
Get email heading.
Метод класса: CustomerStockNotificationEmail{}
Хуков нет.
Возвращает
string.
Использование
$CustomerStockNotificationEmail = new CustomerStockNotificationEmail(); $CustomerStockNotificationEmail->get_default_heading();
Код CustomerStockNotificationEmail::get_default_heading() CustomerStockNotificationEmail::get default heading WC 11.2.2
public function get_default_heading() {
return __( 'It\'s back in stock!', 'woocommerce' );
}