Reggie77
Veteran
Just Getting Started
Member Likes (0)
Hi can you tell me what minimum role a user would need to be able to add products? Is there any way we can set what role is required to manage products?

Responses (1)
Lead Developer (joined May 2009) Likes (0)
Currently it mirrors the page permissions, so with stock roles only editors and above can manage products.
You can change that to say mirror posts by adjusting this line:
'capability_type' => 'page',It's also possible to create your own roles and permissions, for that see
http://codex.wordpress.org/Function_Reference/register_post_type
Become a member