Did exactly what it meant to do!
-
Worked great. Didn’t allow me to import users with the same email but I got around that with a custom filter:
add_filter(‘pre_user_email’, ‘skip_email_exist’);
function skip_email_exist($user_email){
define( ‘WP_IMPORTING’, ‘SKIP_EMAIL_EXIST’ );
return $user_email;
}
(Source: https://wordpress.stackexchange.com/questions/75565/how-to-use-same-email-for-multiple-users )It still throws an error but the importing get’s done.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Did exactly what it meant to do!’ is closed to new replies.