WordPress User & WooCommerce Customers Import Export Plugin is a highly recommended plugin for importing and exporting users. If you need to import users without an email ID, copy and paste the following code snippet into your functions.php file. Just follow these steps:
- From the WordPress admin dashboard, navigate to Appearance > Theme File Editor.
- Under Theme Files, select Theme Functions (functions.php).
- Paste the code snippet at the end of the functions.php file of your active child theme.
Or if, you are adding the custom code snippets using a third-party plugin, refer to this article.
Code Snippet: