Show supplier orders, and preview
This commit is contained in:
@@ -310,4 +310,9 @@ function wiaas_admin_create_role_access_groups() {
|
||||
Groups_Group::create(array(
|
||||
'name' => 'admin',
|
||||
));
|
||||
}
|
||||
|
||||
function wiaas_db_update_update_supplier_order_capabilities() {
|
||||
// add supplier role to view orders
|
||||
wp_roles()->add_cap( 'supplier', 'edit_shop_orders' );
|
||||
}
|
||||
Reference in New Issue
Block a user