Hello ,
I am trying to customise vendors emails (approved-vendor-account,suspend-vendor-account,rejected-vendor-account).So I want to display the vendor email his user name .I wrote the following codes :
<?php printf( esc_html__( “Vendor Username: %s”, ‘dc-woocommerce-multi-vendor’ ), $user_login ); ?> //It succeded to display the username
<?php printf( esc_html__( “Vendor email: %s”, ‘dc-woocommerce-multi-vendor’ ), $vendorWCMP->user_data->vendor_email ); ?> //It shows nothing
<?php printf( esc_html__( “Vendor email: %s”, ‘dc-woocommerce-multi-vendor’ ), $user_object->user_email ); ?> //It shows nothing
Please Help me