allow customer to add comments
This commit is contained in:
@@ -82,7 +82,8 @@ function wiaas_db_update_setup_customer_capabilities() {
|
|||||||
$customer_role = get_role('customer');
|
$customer_role = get_role('customer');
|
||||||
|
|
||||||
$customer_role->add_cap('read_private_shop_orders');
|
$customer_role->add_cap('read_private_shop_orders');
|
||||||
$customer_role->add_cap('read_shop_order');
|
$customer_role->add_cap('read_shop_order');
|
||||||
|
$customer_role->add_cap('publish_shop_order');
|
||||||
}
|
}
|
||||||
|
|
||||||
function wiaas_db_update_add_customer_read_permission() {
|
function wiaas_db_update_add_customer_read_permission() {
|
||||||
|
|||||||
Reference in New Issue
Block a user