我在所有的WooCommerce订单邮件中添加了一个自定义字段,但我不希望它被显示在电子邮件中,只显示给管理员(新订单邮件)。Delivery Date Field to the order emailsadd_filter('woocommerce_email_order_meta_fields', 'my_woocommerce</
我将这段代码添加到functions.php中,我希望我的自定义字段的内容显示在WooCommerce后端的orders页面上。此自定义字段出现在WooCommerce中每个产品的“库存”选项卡上:
// Add Custom Field to woocommerceinventory tab for variable p