I am using below code to show products bbe date using Atum plugin in woocommerce pdf invoice & packing slip plugin.