WC_Email::get_from_name( string $from_name = '' )
Get the from name for outgoing emails.
Description Description
Parameters Parameters
- $from_name
-
(Optional) Default wp_mail() name associated with the "from" email address.
Default value: ''
Return Return
(string)
Source Source
File: includes/emails/class-wc-email.php
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 ); }