WC_Emails::get_from_namepublicWC 1.0

Get from name for email.

Method of the class: WC_Emails{}

No Hooks.

Returns

String.

Usage

$WC_Emails = new WC_Emails();
$WC_Emails->get_from_name();

WC_Emails::get_from_name() code WC 10.5.0

public function get_from_name() {
	$default = get_bloginfo( 'name', 'display' );
	return wp_specialchars_decode( get_option( 'woocommerce_email_from_name', $default ), ENT_QUOTES );
}