I created a site in wordpress using woocommerce and i added custom fields in checkout page, also in email after the checkout.
But the problem is custom data (Delivery Method) field is not display under the table in email generated by woocommerce.
Please help me to solve this issue.
Here is my code
add_filter('woocommerce_email_order_meta_keys', 'my_woocommerce_email_order_meta_keys');
function my_woocommerce_email_order_meta_keys($keys)
{
$keys['Delivery Method'] = 'delivery_options';
return $keys;
}