I have a very small and simple issue (hopefully) which I can't seem to solve. I want to edit the contents of the "woocommerce_email_after_order_table" hook. For example, in the customer_invoice.php there's this:
<?php do_action('woocommerce_email_after_order_table', $order, false); ?>
But I can't seem to find where "woocommerce_email_after_order_table" is being "created". What I want to do is remove the address_2 (billing and shipping) info, since I hid it on the frontend, but for some reason it got replaced with some random string.
Thanks in advance!