This code retrieves the order items from the WC_Emails class and passes them to the get_order_items() method along with several options for formatting the output. The options include whether to show the item SKU, whether to show an image, what size the image should be, whether the output should be plain text, and whether the output should be sent to an admin.
Was this code snippet helpful?
YesNo