0

How do I hide certain metaboxes in WordPress Admin screen options for specific user roles?

For example, I allow the user role "Store Vendor" to access the WordPress admin to upload their products to my marketplace, but I do not want them to access some features.

Ideally there would be a filter to add in the functions.php but I can't figured it.

IDs that need to be removed from admin menu for Store Vendor:

uap_affiliate_landing_page

ihc_show_for

ihc_drip_content

wcfm-view

enter image description here

-1

Try maybe WPFront User Role Editor plugin, it is free but also has premium features. Hope this helps if not very sorry, i m not into codes much only as hobby.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.