woocommerce_email_from_address filter-hook . WC 1.0
Get the from address for outgoing emails.
Usage
add_filter( 'woocommerce_email_from_address', 'filter_function_name_5153', 10, 2 ); function filter_function_name_5153( $from_email, $that ){ // filter... return $from_email; }
- $from_email
- -
- $that
- -
Where the hook is called
woocommerce_email_from_address
woocommerce/includes/emails/class-wc-email.php 631
$from_email = apply_filters( 'woocommerce_email_from_address', get_option( 'woocommerce_email_from_address' ), $this, $from_email );