WC_Email_Customer_Refunded_Order::get_default_subject()
Get email subject.
Метод класса: WC_Email_Customer_Refunded_Order{}
Хуков нет.
Возвращает
Строку
.
Использование
$WC_Email_Customer_Refunded_Order = new WC_Email_Customer_Refunded_Order(); $WC_Email_Customer_Refunded_Order->get_default_subject( $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_subject() WC Email Customer Refunded Order::get default subject WC 9.7.1
public function get_default_subject( $partial = false ) { if ( $partial ) { return __( 'Your {site_title} order #{order_number} has been partially refunded', 'woocommerce' ); } else { return __( 'Your {site_title} order #{order_number} has been refunded', 'woocommerce' ); } }