woocommerce_email_from_name

woocommerce_email_from_name

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_email_from_name') is found 1 times:

  • /includes/emails/class-wc-email.php line 833
    829
    830
    831
    832
    833
    834
    835
    836
    837
    838
    839
    * @param string $from_name Default wp_mail() name associated with the "from" email address.
     * @return string
     */
    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 );
    }
     
    /**
     * Get the from address for outgoing emails.
     *