functionwpapi_change_role_name(){

    global$wp_roles;

    if(!isset($wp_roles))

        $wp_roles=newWP_Roles();

    //Owner 更改為顯示名稱

    //administrator 更改為使用者角色,例如 editor/author/contributor/subscriber

    $wp_roles->roles['administrator']['name']='管理員';

    $wp_roles->role_names['administrator']='超級版主';          

}

add_action('init','wpapi_change_role_name');