WooCommerce:删除产品写入面板选项卡 [英] WooCommerce: Removing product write panel tab
本文介绍了WooCommerce:删除产品写入面板选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 WooCommerce,我想隐藏后端的链接产品"选项卡.我找到了一个添加标签的钩子 (woocommerce_product_write_panel_tabs
),但我不确定是否也可以用这个钩子隐藏某些标签.
I’m using WooCommerce and I’d like to hide the "Linked Products" tab in the backend. I found a hook to add tabs (woocommerce_product_write_panel_tabs
) but I’m not sure if it’s also possible to hide certain tabs with this hook.
感谢您的帮助!
推荐答案
将以下内容添加到 wp-admin.min.css 应删除链接的产品.
Adding the following to the wp-admin.min.css should remove the linked products.
li.linked_product_options.linked_product_tab
{
display:none !important;
}
这篇关于WooCommerce:删除产品写入面板选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文