WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Email_Customer_Invoice::get_subject() public WC 1.0

Get email subject.

{} Это метод класса: WC_Email_Customer_Invoice{}

Возвращает

Строку.

Использование

$WC_Email_Customer_Invoice = new WC_Email_Customer_Invoice();
$WC_Email_Customer_Invoice->get_subject();

Код WC_Email_Customer_Invoice::get_subject() WC 4.7.0

<?php
public function get_subject() {
	if ( $this->object->has_status( array( 'completed', 'processing' ) ) ) {
		$subject = $this->get_option( 'subject_paid', $this->get_default_subject( true ) );

		return apply_filters( 'woocommerce_email_subject_customer_invoice_paid', $this->format_string( $subject ), $this->object, $this );
	}

	$subject = $this->get_option( 'subject', $this->get_default_subject() );
	return apply_filters( 'woocommerce_email_subject_customer_invoice', $this->format_string( $subject ), $this->object, $this );
}