|
@@ 627-631 (lines=5) @@
|
| 624 |
|
$current_day['title'] = esc_attr('Day ','wetu-importer').$day_counter; |
| 625 |
|
|
| 626 |
|
//Description |
| 627 |
|
if(false !== $importable_content && in_array('itinerary_description',$importable_content) && isset($day['notes']) && '' !== $day['notes']){ |
| 628 |
|
$current_day['description'] = strip_tags($day['notes']); |
| 629 |
|
}else{ |
| 630 |
|
$current_day['description'] = ''; |
| 631 |
|
} |
| 632 |
|
|
| 633 |
|
//Itinerary Gallery |
| 634 |
|
if(false !== $importable_content && in_array('itinerary_gallery',$importable_content) && isset($day['images'])){ |
|
@@ 655-659 (lines=5) @@
|
| 652 |
|
} |
| 653 |
|
|
| 654 |
|
//Included |
| 655 |
|
if(false !== $importable_content && in_array('itinerary_included',$importable_content) && isset($day['included']) && '' !== $day['included']){ |
| 656 |
|
$current_day['included'] = strip_tags($day['included']); |
| 657 |
|
}else{ |
| 658 |
|
$current_day['description'] = ''; |
| 659 |
|
} |
| 660 |
|
|
| 661 |
|
//Excluded |
| 662 |
|
if(false !== $importable_content && in_array('itinerary_excluded',$importable_content) && isset($day['excluded']) && '' !== $day['excluded']){ |
|
@@ 662-666 (lines=5) @@
|
| 659 |
|
} |
| 660 |
|
|
| 661 |
|
//Excluded |
| 662 |
|
if(false !== $importable_content && in_array('itinerary_excluded',$importable_content) && isset($day['excluded']) && '' !== $day['excluded']){ |
| 663 |
|
$current_day['excluded'] = strip_tags($day['excluded']); |
| 664 |
|
}else{ |
| 665 |
|
$current_day['excluded'] = ''; |
| 666 |
|
} |
| 667 |
|
|
| 668 |
|
$this->set_itinerary_day($current_day,$id); |
| 669 |
|
$day_counter++; |