Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Role-based meta panel restrict. › Reply To: Role-based meta panel restrict.
I’ve reviewed Product Add-ons and woocommerce plug-in files. I’ve tried every possible and more name I’ve listed below. But unfortunately it doesn’t work. I don’t know what the problem is, I can’t figure it out. Help me please. 🙁
unset($tabs[‘wc_pao_params’]);
unset($tabs[‘wc_pao’]);
unset($tabs[‘woocommerce_product_addons’]);
unset($tabs[‘woocommerce-product-addons’]);
unset($tabs[‘product_page_addons’]);
unset($tabs[‘product_addons’]);
unset($tabs[‘product_add-ons’]);
unset($tabs[‘product_add_ons’]);
unset($tabs[‘_product_addons’]);
unset($tabs[‘global_product_addon’]);
unset($tabs[‘addons’]);
unset($tabs[‘addon’]);
unset($tabs[‘add-ons’]);
unset($tabs[‘Add-ons’]);
unset($tabs[‘_wc_pao_addon’]);
unset($tabs[‘_wc_pao_addon_value’]);