Changeset 2655235
- Timestamp:
- 01/10/2022 02:23:41 PM (4 years ago)
- Location:
- sokan-integration/trunk
- Files:
-
- 2 edited
-
init/fill_data.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sokan-integration/trunk/init/fill_data.php
r2653030 r2655235 235 235 236 236 $customer = new Skng_Customer( $wpdb ); 237 $filtered_customer = apply_filters("skng_sokan_fill_customer" , $customer_list); 237 238 $customer_for_save = []; 238 foreach ($ customer_listas $value){239 foreach ($filtered_customer as $value){ 239 240 array_push($customer_for_save, "('" . $value['id'] . "','" .$value['name']. "','" . $value['sales_channel'] . "','" . $value['gender'] . "','" . $value['birthday'] . "','" . $value['phone'] . "',0,'" . $value['email'] . "','','" . date("Y/m/d H:i:s") . "','" . date("Y/m/d H:i:s") . "')"); 240 241 } … … 468 469 469 470 $customer = new Skng_Customer( $wpdb ); 471 $filtered_customer = apply_filters("skng_sokan_fill_customer" , $customer_list); 470 472 $customer_for_save = []; 471 foreach ($ customer_listas $value){473 foreach ($filtered_customer as $value){ 472 474 array_push($customer_for_save, "('" . $value['id'] . "','" .$value['name']. "','" . $value['sales_channel'] . "','" . $value['gender'] . "','" . $value['birthday'] . "','" . $value['phone'] . "',0,'" . $value['email'] . "','','" . date("Y/m/d H:i:s") . "','" . date("Y/m/d H:i:s") . "')"); 473 475 } -
sokan-integration/trunk/readme.txt
r2655227 r2655235 5 5 Tested up to: 5.8 6 6 Donate link: http://sokan.tech/ 7 Stable tag: 1. 0.07 Stable tag: 1.1.0 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.