WordPress at Your Fingertips
function is not described

WC_Email::get_from_address() public WC 1.0

Get the from address 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_address( $from_email );
$from_email(string)
Default wp_mail() email address to send from.
Default: ''

Code of WC_Email::get_from_address() WC 6.1.1

public function get_from_address( $from_email = '' ) {
	$from_email = apply_filters( 'woocommerce_email_from_address', get_option( 'woocommerce_email_from_address' ), $this, $from_email );
	return sanitize_email( $from_email );
}