Our Import Users from CSV Integration Add On allows you to import user or user meta fields for current members. This recipe demonstrates how to import data that is stored as an “array” (for multi-select or checkbox values). It’s a useful guide for sites that have added checkbox or select2 custom user field types.

How to import user meta fields that are stored as an array

The Code Recipe

Adding the Recipe to Your Website

You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.

To prepare your CSV for import, you’ll need to add the appropriate new meta field as a column of data. For the field values, follow the format {value1,value2,value3}.

Free Course: Membership Site Development—The Basics

Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.

Featured Image for Membership Site Development Course: The Basics
Was this article helpful?
YesNo