Is there way to rename user role name without plugin?
Is there anyway to rename a user role name via hook, instead of using plugin? Edit For example, administrator » owner 6 function change_role_name() { global $wp_roles; if ( ! isset( $wp_roles ) ) $wp_roles = new WP_Roles(); //You can list all currently available roles like this… //$roles = $wp_roles->get_names(); //print_r($roles); //You can replace “administrator” … Read more