Plugin Directory

Changeset 2655235


Ignore:
Timestamp:
01/10/2022 02:23:41 PM (4 years ago)
Author:
sokangroup
Message:

update 1.1.0

Location:
sokan-integration/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sokan-integration/trunk/init/fill_data.php

    r2653030 r2655235  
    235235
    236236        $customer  = new Skng_Customer( $wpdb );
     237        $filtered_customer  = apply_filters("skng_sokan_fill_customer" , $customer_list);
    237238        $customer_for_save = [];
    238         foreach ($customer_list as $value){
     239        foreach ($filtered_customer as $value){
    239240            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") . "')");
    240241        }
     
    468469
    469470            $customer  = new Skng_Customer( $wpdb );
     471            $filtered_customer  = apply_filters("skng_sokan_fill_customer" , $customer_list);
    470472            $customer_for_save = [];
    471             foreach ($customer_list as $value){
     473            foreach ($filtered_customer as $value){
    472474                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") . "')");
    473475            }
  • sokan-integration/trunk/readme.txt

    r2655227 r2655235  
    55Tested up to: 5.8
    66Donate link: http://sokan.tech/
    7 Stable tag: 1.0.0
     7Stable tag: 1.1.0
    88Requires PHP: 7.0
    99License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.