Timeline for Woocommerce order processing email subject not changing
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 4, 2018 at 16:38 | vote | accept | wpdd | ||
Dec 4, 2018 at 12:33 | answer | added | vikrant zilpe | timeline score: 1 | |
Dec 4, 2018 at 12:25 | comment | added | vikrant zilpe | try this add_filter(' woocommerce_email_subject_customer_processing_order', 'change_admin_email_subject', 1, 2); function change_admin_email_subject( $subject, $order ) { global $woocommerce; $blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES); $subject = sprintf( '[%s] New Customer Order (# %s) from Name %s %s', $blogname, $order->id, $order->billing_first_name, $order->billing_last_name ); return $subject; } | |
Dec 3, 2018 at 23:16 | history | asked | wpdd | CC BY-SA 4.0 |