classes/class-tours.php 1 location
|
@@ 521-526 (lines=6) @@
|
| 518 |
|
} |
| 519 |
|
|
| 520 |
|
delete_option('wetu_importer_tour_settings'); |
| 521 |
|
if(isset($_POST['content']) && is_array($_POST['content']) && !empty($_POST['content'])){ |
| 522 |
|
$content = $_POST['content']; |
| 523 |
|
add_option('wetu_importer_tour_settings',$content); |
| 524 |
|
}else{ |
| 525 |
|
$content = false; |
| 526 |
|
} |
| 527 |
|
|
| 528 |
|
$jdata=file_get_contents("http://wetu.com/API/Itinerary/V7/Get?id=".$wetu_id); |
| 529 |
|
|
classes/class-accommodation.php 1 location
|
@@ 428-434 (lines=7) @@
|
| 425 |
|
} |
| 426 |
|
|
| 427 |
|
delete_option('wetu_importer_accommodation_settings'); |
| 428 |
|
if(isset($_POST['content']) && is_array($_POST['content']) && !empty($_POST['content'])){ |
| 429 |
|
$content = $_POST['content']; |
| 430 |
|
add_option('wetu_importer_accommodation_settings',$content); |
| 431 |
|
}else{ |
| 432 |
|
|
| 433 |
|
$content = false; |
| 434 |
|
} |
| 435 |
|
|
| 436 |
|
$jdata = file_get_contents( $this->url . '/Get?' . $this->url_qs . '&ids=' . $wetu_id ); |
| 437 |
|
if($jdata) |
classes/class-destination.php 1 location
|
@@ 444-449 (lines=6) @@
|
| 441 |
|
$safari_brands = false; |
| 442 |
|
|
| 443 |
|
delete_option('wetu_importer_destination_settings'); |
| 444 |
|
if (isset($_POST['content']) && is_array($_POST['content']) && !empty($_POST['content'])) { |
| 445 |
|
$content = $_POST['content']; |
| 446 |
|
add_option('wetu_importer_destination_settings', $content); |
| 447 |
|
} else { |
| 448 |
|
$content = false; |
| 449 |
|
} |
| 450 |
|
|
| 451 |
|
$jdata = file_get_contents($this->url . '/Get?' . $this->url_qs . '&ids=' . $wetu_id); |
| 452 |
|
if ($jdata) { |