81850ff0 by Jeff Balicki

hhh

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent bb61ecdb
......@@ -311,6 +311,17 @@ function handle_preflight()
}
}
/**
* Remove roles
*
* Author, Editor, Contributor
*
*/
$wp_roles = new WP_Roles();
$wp_roles->remove_role("author");
$wp_roles->remove_role("editor");
$wp_roles->remove_role("contributor");
add_role(
'cwl_staff', __('CWL Staff'),
array(
......@@ -321,7 +332,6 @@ add_role(
);
/*
* Creating a function to create our CPT
*/
......