Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / Classes / WC_Email / WC_Email::get_subject()

WC_Email::get_subject()

Get email subject.

Contents

  • Description
    • Return
    • Source
  • Related
    • Uses
  • User Contributed Notes

Description #Description


Return #Return

(string)


Top ↑

Source #Source

File: includes/emails/class-wc-email.php

	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 );
	}

Expand full source code Collapse full source code


Top ↑

Related #Related

Top ↑

Uses #Uses

Uses
Uses Description
includes/emails/class-wc-email.php: WC_Email::get_option()

Proxy to parent’s get_option and attempt to localize the result using gettext.

includes/emails/class-wc-email.php: WC_Email::format_string()

Format email string.

includes/emails/class-wc-email.php: WC_Email::get_default_subject()

Get email subject.


Top ↑

User Contributed Notes #User Contributed Notes

You must log in before being able to contribute a note or feedback.

Proudly powered by WordPress