Import users from CSV with meta - Version 1.11.3.13

Version Description

  • Mail address with data of users can now be overriden thanks to a new filter
Download this release

Release Info

Developer carazo
Plugin Icon 128x128 Import users from CSV with meta
Version 1.11.3.13
Comparing to
See all releases

Code changes from version 1.11.3.12 to 1.11.3.13

import-users-from-csv-with-meta.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Import users from CSV with meta
4
  Plugin URI: https://www.codection.com
5
  Description: This plugins allows to import users using CSV files to WP database automatically
6
- Version: 1.11.3.12
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
3
  Plugin Name: Import users from CSV with meta
4
  Plugin URI: https://www.codection.com
5
  Description: This plugins allows to import users using CSV files to WP database automatically
6
+ Version: 1.11.3.13
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
importer.php CHANGED
@@ -578,14 +578,14 @@ function acui_import_users( $file, $form_data, $attach_id = 0, $is_cron = false,
578
  add_filter( 'wp_mail_from', 'acui_mail_from' );
579
  add_filter( 'wp_mail_from_name', 'acui_mail_from_name' );
580
 
581
- wp_mail( $email, $subject, $body_mail, $headers_mail );
582
 
583
  remove_filter( 'wp_mail_from', 'acui_mail_from' );
584
  remove_filter( 'wp_mail_from_name', 'acui_mail_from_name' );
585
  remove_action( 'phpmailer_init', 'acui_mailer_init' );
586
  }
587
  else
588
- wp_mail( $email, $subject, $body_mail, $headers_mail );
589
 
590
  remove_filter( 'wp_mail_content_type', 'cod_set_html_content_type' );
591
  endif;
578
  add_filter( 'wp_mail_from', 'acui_mail_from' );
579
  add_filter( 'wp_mail_from_name', 'acui_mail_from_name' );
580
 
581
+ wp_mail( apply_filters( 'acui_import_email_to', $email, $headers, $data ), $subject, $body_mail, $headers_mail );
582
 
583
  remove_filter( 'wp_mail_from', 'acui_mail_from' );
584
  remove_filter( 'wp_mail_from_name', 'acui_mail_from_name' );
585
  remove_action( 'phpmailer_init', 'acui_mailer_init' );
586
  }
587
  else
588
+ wp_mail( apply_filters( 'acui_import_email_to', $email, $headers, $data ), $subject, $body_mail, $headers_mail );
589
 
590
  remove_filter( 'wp_mail_content_type', 'cod_set_html_content_type' );
591
  endif;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://paypal.me/codection
4
  Tags: csv, import, importer, meta data, meta, user, users, user meta, editor, profile, custom, fields, delimiter, update, insert
5
  Requires at least: 3.4
6
  Tested up to: 4.9.8
7
- Stable tag: 1.11.3.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -71,6 +71,9 @@ Plugin will automatically detect:
71
 
72
  == Changelog ==
73
 
 
 
 
74
  = 1.11.3.12 =
75
  * Plugin is now compatible with Vimeo Sync Membership thanks to Justin Snavely
76
 
4
  Tags: csv, import, importer, meta data, meta, user, users, user meta, editor, profile, custom, fields, delimiter, update, insert
5
  Requires at least: 3.4
6
  Tested up to: 4.9.8
7
+ Stable tag: 1.11.3.13
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
71
 
72
  == Changelog ==
73
 
74
+ = 1.11.3.13 =
75
+ * Mail address with data of users can now be overriden thanks to a new filter
76
+
77
  = 1.11.3.12 =
78
  * Plugin is now compatible with Vimeo Sync Membership thanks to Justin Snavely
79