WordPress at Your Fingertips
function is not described

WC_Email::get_subject() public WC 1.0

Get email subject.

{} It's a method of the class: WC_Email{}

Hooks from the method

Return

String.

Usage

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

Code of WC_Email::get_subject() WC 5.9.0

public function get_subject() {
	return apply_filters( 'woocommerce_email_subject_' . $this->id, $this->format_string( $this->get_option( 'subject', $this->get_default_subject() ) ), $this->object, $this );
}