WP-Members はユーザーのインポートをネイティブでは処理しません。 なぜかと言うと、インポート処理を非常にうまく実行できる無料プラグインが既にいくつもあるからです。個人的には「Import and export users and customers」というプラグインをお勧めします。これは新しいユーザーをインポートし、既存のユーザーを更新する機能があり、いくつかのWP-Members固有の設定にも対応しています。

ユーザーをインポートする際に注意すべき点は、使用するインポートツールの説明書を読むことです。インポートするCSVの構造がどのようになっているか、特定のフィールドがどのように処理されるかを知っておいてください。カスタムフィールド (例えばWP-Members で設定/作成したフィールド) をインポートする場合、WP-Members 設定の [フィールド] タブでそのフィールドのメタキーを見つけることができます。

専門家からのヒント: ユーザー登録を承認制にしており、ユーザーを既に承認したものとしてインポートしたい場合は、メタフィールド「active」の値を1に設定してインポートします。これによりユーザーは既に承認された状態でインポートされ、後から承認作業をする必要がなくなります。

ユーザーおよび顧客のインポートとエクスポートの詳細についてはこの投稿を参照してください。

原文を見る

WP-Members does not natively handle importing users.  The reason for this is that there are several freely available plugins that already do that – and do it quite well. I recommend “Import and export users and customers.” It has features to import new users, update existing users, and also has some settings specific to WP-Members.

Things to keep in mind when importing users is to read the instructions for whatever import tool you use. Know how to structure the CSV for import and how specific fields are handled. For importing custom fields (i.e. fields you’ve setup/created in WP-Members) you can find the meta key for the field in the WP-Members settings Fields tab.

Pro Tip: If you are using moderated registration and you want to import users as already activated, import a meta field “active” with the value set to 1. This will import the user as already activated without needing to activate them later.

See this post for more information on Import and export users and customers.

https://rocketgeek.com/plugins/wp-members/docs/managing-users/import-users/

会員情報をインポートする

会員資格や有効期限を持つユーザーをインポートする場合は、インポートするCSV に2 つの追加列を用意します。:

  • membership
  • expires (その会員資格に有効期限がある場合、それ以外の場合は省略する)

For each user, in the membership column, identify the membership being assigned by the membership “slug” (which you can retrieve from the Memberships section in the menu).  また会員資格に有効期限がある場合は次の2つの書式のいずれかで有効期限を設定します。:

  • YYYY-MM-DD 00:00:00 (MySQL タイムスタンプ形式)
  • YYYY-MM-DD

ユーザーがインポートされたらここで提供されているユーティリティスクリプトを使用してインポートデータを変換し、会員資格情報に使用される適切な WP-Members ユーザーメタにします。

原文を見る

If you are importing users with memberships and/or expirations, include two additional columns in your import CSV:

  • membership
  • expires (if the membership is an expiration product, otherwise omit)

For each user, in the membership column, identify the membership being assigned by the membership “slug” (which you can retrieve from the Memberships section in the menu).  Also, if the membership product is an expiration product, include the expiration in one of the following two formats:

  • YYYY-MM-DD 00:00:00 (MySQL timestamp format)
  • YYYY-MM-DD

Once users are imported, use the utility script provided here to transfer your import data to the appropriate WP-Members user meta used for membership info.

https://rocketgeek.com/plugins/wp-members/docs/managing-users/import-users/