WC_Email_Customer_Fulfillment_Created::get_default_heading
Get email heading.
Метод класса: WC_Email_Customer_Fulfillment_Created{}
Хуков нет.
Возвращает
Строку.
Использование
$WC_Email_Customer_Fulfillment_Created = new WC_Email_Customer_Fulfillment_Created(); $WC_Email_Customer_Fulfillment_Created->get_default_heading();
Список изменений
| С версии 3.1.0 | Введена. |
| С версии 10.7.0 | Added plural form for multi-item fulfillments. |
Код WC_Email_Customer_Fulfillment_Created::get_default_heading() WC Email Customer Fulfillment Created::get default heading WC 11.0.1
public function get_default_heading() {
if ( $this->get_fulfillment_item_count() > 1 ) {
return __( 'Your items are on the way!', 'woocommerce' );
}
return __( 'Your item is on the way!', 'woocommerce' );
}