in effort remove or hide link in woocommerce product pages have used following css ineffective;
.product_cat-add-toggle { display: none; }
i have tried
#product_category-add-toggle { display: none; visibility: hidden; }
for both pieces of css, tried adding !important
still had no success.
try in theme functions.php
add_action('admin_head', 'my_custom_admin_style'); function my_custom_admin_style() { echo '<style> #product_category-add-toggle {display: none !important;} </style>'; }
or
try remove capability user create woocommerce new category particular role
Comments
Post a Comment