WC_Email_Customer_Refunded_Order::get_default_heading()
Get email heading.
Метод класса: WC_Email_Customer_Refunded_Order{}
Хуков нет.
Возвращает
Строку
.
Использование
$WC_Email_Customer_Refunded_Order = new WC_Email_Customer_Refunded_Order(); $WC_Email_Customer_Refunded_Order->get_default_heading( $partial );
- $partial(true|false)
- Whether it is a partial refund or a full refund.
По умолчанию: false
Список изменений
С версии 3.1.0 | Введена. |
Код WC_Email_Customer_Refunded_Order::get_default_heading() WC Email Customer Refunded Order::get default heading WC 9.4.2
public function get_default_heading( $partial = false ) { if ( $partial ) { return __( 'Partial Refund: Order {order_number}', 'woocommerce' ); } else { return __( 'Order Refunded: {order_number}', 'woocommerce' ); } }