WordPress at Your Fingertips
function is not described

WC_Email::get_from_name() public WC 1.0

Get the from name for outgoing emails.

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

Hooks from the method

Return

String.

Usage

$WC_Email = new WC_Email();
$WC_Email->get_from_name( $from_name );
$from_name(string)
Default wp_mail() name associated with the "from" email address.
Default: ''

Code of WC_Email::get_from_name() WC 6.1.1

public function get_from_name( $from_name = '' ) {
	$from_name = apply_filters( 'woocommerce_email_from_name', get_option( 'woocommerce_email_from_name' ), $this, $from_name );
	return wp_specialchars_decode( esc_html( $from_name ), ENT_QUOTES );
}