Dev Resources

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

WC_Email::get_heading()

Get email heading.

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_heading() {
		return apply_filters( 'woocommerce_email_heading_' . $this->id, $this->format_string( $this->get_option( 'heading', $this->get_default_heading() ) ), $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_heading()

Get email heading.


Top ↑

User Contributed Notes #User Contributed Notes

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

Proudly powered by WordPress