admin管理员组文章数量:1300022
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
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
1 Answer
Reset to default -1Try 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.
本文标签:
版权声明:本文标题:How to hide metaboxes in WordPress Admin on WooCommerce "Add Product" page - Remove side sortables for a speci 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741629805a2389292.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论