81850ff0 by Jeff Balicki

hhh

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent bb61ecdb
...@@ -311,6 +311,17 @@ function handle_preflight() ...@@ -311,6 +311,17 @@ function handle_preflight()
311 } 311 }
312 } 312 }
313 313
314
315 /**
316 * Remove roles
317 *
318 * Author, Editor, Contributor
319 *
320 */
321 $wp_roles = new WP_Roles();
322 $wp_roles->remove_role("author");
323 $wp_roles->remove_role("editor");
324 $wp_roles->remove_role("contributor");
314 add_role( 325 add_role(
315 'cwl_staff', __('CWL Staff'), 326 'cwl_staff', __('CWL Staff'),
316 array( 327 array(
...@@ -321,7 +332,6 @@ add_role( ...@@ -321,7 +332,6 @@ add_role(
321 ); 332 );
322 333
323 334
324
325 /* 335 /*
326 * Creating a function to create our CPT 336 * Creating a function to create our CPT
327 */ 337 */
......