WooCommerce offers ‘Duplicate’ action for its products.
It is available to the users with ‘manage_woocommerce’ capability by default. Is it possible to change it? Read more User capability to duplicate WooCommerce products
WooCommerce offers ‘Duplicate’ action for its products.
It is available to the users with ‘manage_woocommerce’ capability by default. Is it possible to change it? Read more User capability to duplicate WooCommerce products
Suppose you wish to prohibit WordPress attachments deletion for your authors. WordPress manages access to the Media Library items (attachments) using ‘posts’ capabilities set. Yes, the key capability to access the ‘Media Library’ is ‘upload_files’, but in order to edit uploaded image attributes a user needs ‘edit_posts’ capability, in order to delete uploaded video a user needs ‘delete_posts’ capability, etc. So there is no way to prohibit attachments deletion for users who may (and should) delete posts with WordPress default Media Library permissions model.
Pro version of User Role Editor offers a workaround – ‘Force custom post types to use their own capabilities’ option: Read more Prohibit authors attachments deletion
This post shows how to provide access to the WordPress plugin created menu using User Role Editor. An example uses Smart Slider 3 WordPress plugin. Smart Slider creates its own user capabilities set: Read more Role with access to the Smart Slider 3 plugin
In case you don’t need and wish to remove WordPress built-in user roles, like ‘subscriber’, ‘contributor’, ‘author’, ‘editor’ this piece of code may delete them for you: Read more Remove WordPress built-in user roles
“MyMail – Email Newsletter Plugin for WordPress” Settings page includes 14 tabs. Not all of these tabs are protected by different user capabilities. How to make available the different list of these tabs for different WordPress user roles? Let’s see it on example of hiding some tabs from non-administrator users. Read more Manage access to MyMail – Email Newsletter Settings tabs