WC_Email_Customer_Invoice::get_heading()
Get email heading.
Метод класса: WC_Email_Customer_Invoice{}
Хуки из метода
Возвращает
Строку
.
Использование
$WC_Email_Customer_Invoice = new WC_Email_Customer_Invoice(); $WC_Email_Customer_Invoice->get_heading();
Код WC_Email_Customer_Invoice::get_heading() WC Email Customer Invoice::get heading WC 9.7.1
public function get_heading() { if ( $this->object->has_status( wc_get_is_paid_statuses() ) ) { $heading = $this->get_option( 'heading_paid', $this->get_default_heading( true ) ); return apply_filters( 'woocommerce_email_heading_customer_invoice_paid', $this->format_string( $heading ), $this->object, $this ); } $heading = $this->get_option( 'heading', $this->get_default_heading() ); return apply_filters( 'woocommerce_email_heading_customer_invoice', $this->format_string( $heading ), $this->object, $this ); }