New Vendor Notifications Welcome Email
-
Hi,
I have customised the Welcome email text. But it still sends the original WCFM text. I have also added an image in the woocommerce Email setting. But this is not showing.
I have added the following code to Functions PHP in the child theme:
`/**
* Welcome Vendor email
*/function wcfm_custom_translate_text( $translated ) {
$translated = str_ireplace( ‘Welcome to the store!’, ‘YOUR TEXT’, $translated );
return $translated;
}
add_filter(‘gettext’, ‘wcfm_custom_translate_text’);
add_filter(‘ngettext’, ‘wcfm_custom_translate_text’);add_filter( ‘wcfm_notification_mail_content’, function( $new_account_mail_body, $mail_type, $wcfm_vendor_form_data ) {
if( $mail_type == ‘vendor_new_account_created’ ) {
$new_account_mail_body = wcfm_get_option( ‘wcfm_non_membership_welcome_email_content’, ” );
}
return $new_account_mail_body;
}, 50, 3 );As per help on your site.
This is a screenshot of the dashboard:
https://localfreshfoods.co.uk/wp-content/uploads/2021/08/Custom-Welcome-Email-1.png
I understand how busy you are. However, I wonder if you would kindly advise.
Kind regards
Raj
The page I need help with: [log in to see the link]
- The topic ‘New Vendor Notifications Welcome Email’ is closed to new replies.