add view admin dashboard to cl
This commit is contained in:
@@ -141,5 +141,5 @@ function wiaas_db_import_aam_role_settings() {
|
|||||||
function wiaas_db_update_update_commercial_lead_capabilities() {
|
function wiaas_db_update_update_commercial_lead_capabilities() {
|
||||||
// add commercial lead specific roles
|
// add commercial lead specific roles
|
||||||
wp_roles()->add_cap( 'commercial_lead', 'manage_wiaas_cl_products' ); // cl products screen
|
wp_roles()->add_cap( 'commercial_lead', 'manage_wiaas_cl_products' ); // cl products screen
|
||||||
wp_roles()->add_cap( 'commercial_lead', 'manage_wiaas_cl_products' ); // cl products screen
|
wp_roles()->add_cap( 'commercial_lead', 'view_admin_dashboard' ); // cl products screen
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user