Changeset 1418969
- Timestamp:
- 05/17/2016 05:29:10 PM (10 years ago)
- Location:
- leadfox/trunk
- Files:
-
- 2 edited
-
leadfox.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
leadfox/trunk/leadfox.php
r1378154 r1418969 2 2 /*** 3 3 * Plugin Name: leadfox 4 * Plugin Version: 1.0 4 * Plugin Version: 1.0.1 5 5 * Author: Leadfox(Leadfox) 6 6 * Description: Leadfox converts visitors into ripe leads and paying customers : From creating convincing landing pages that capture more leads to running smarter email campaigns that better nurture new customers LeadFox makes deploying your online strategy easy and automatic. The plugin will integrate all the Leadfox tracking code on your website and will sync all your contacts with your Leadfox contact lists. … … 366 366 if(class_exists( 'WooCommerce' )) 367 367 { 368 if( $contactlist != 0 )368 if( $contactlist != 0 && ($fstname!='' || $lstname!='' || $email!='')) 369 369 { 370 370 $topost = array( … … 450 450 { 451 451 $id=$customerdetail->ID; 452 $user_info = get_userdata($id); 452 453 $email=$customerdetail->user_email; 453 454 $name=$customerdetail->display_name; 454 455 $name = explode(" ",$name); 455 $fstname = $name[0]; 456 $lstname = $name[1]; 456 //$fstname = $name[0]; 457 //$lstname = $name[1]; 458 $fstname = $user_info->first_name; 459 $lstname = $user_info->last_name; 457 460 global $wpdb; 458 461 … … 464 467 if(class_exists( 'WooCommerce' )) 465 468 { 466 if( $contactlist != 0 )469 if( $contactlist != 0 && ($fstname!='' || $lstname!='' || $email!='')) 467 470 { 468 471 $topost = array( -
leadfox/trunk/readme.txt
r1378139 r1418969 50 50 = 1.0 = 51 51 Plugin lauch! 52 53 54 = 1.0.1 = 55 If the required values i.e. first name, last name and email is not empty then contacts will be synched. 56
Note: See TracChangeset
for help on using the changeset viewer.