Add product tag names to WooCommerce new order email subject
You are getting a blank array because you are storing arrays of WP_Term product tags Objects in an array, and then using implode() on a multidimensional array of WP_Term objects which gives a first error and finally a second error on the sprintf() function. Is better to use wp_get_post_terms() that allows to get term names … Read more