classes/class-accommodation.php 1 location
|
@@ 415-421 (lines=7) @@
|
| 412 |
|
} |
| 413 |
|
|
| 414 |
|
delete_option('wetu_importer_accommodation_settings'); |
| 415 |
|
if(isset($_POST['content']) && is_array($_POST['content']) && !empty($_POST['content'])){ |
| 416 |
|
$content = $_POST['content']; |
| 417 |
|
add_option('wetu_importer_accommodation_settings',$content); |
| 418 |
|
}else{ |
| 419 |
|
|
| 420 |
|
$content = false; |
| 421 |
|
} |
| 422 |
|
|
| 423 |
|
$jdata = file_get_contents( $this->url . '/Get?' . $this->url_qs . '&ids=' . $wetu_id ); |
| 424 |
|
if($jdata) |
classes/class-destination.php 1 location
|
@@ 478-483 (lines=6) @@
|
| 475 |
|
$safari_brands = false; |
| 476 |
|
|
| 477 |
|
delete_option('wetu_importer_destination_settings'); |
| 478 |
|
if (isset($_POST['content']) && is_array($_POST['content']) && !empty($_POST['content'])) { |
| 479 |
|
$content = $_POST['content']; |
| 480 |
|
add_option('wetu_importer_destination_settings', $content); |
| 481 |
|
} else { |
| 482 |
|
$content = false; |
| 483 |
|
} |
| 484 |
|
|
| 485 |
|
$jdata = file_get_contents($this->url . '/Get?' . $this->url_qs . '&ids=' . $wetu_id); |
| 486 |
|
if ($jdata) { |
classes/class-tours.php 1 location
|
@@ 519-524 (lines=6) @@
|
| 516 |
|
} |
| 517 |
|
|
| 518 |
|
delete_option('wetu_importer_tour_settings'); |
| 519 |
|
if(isset($_POST['content']) && is_array($_POST['content']) && !empty($_POST['content'])){ |
| 520 |
|
$content = $_POST['content']; |
| 521 |
|
add_option('wetu_importer_tour_settings',$content); |
| 522 |
|
}else{ |
| 523 |
|
$content = false; |
| 524 |
|
} |
| 525 |
|
|
| 526 |
|
$jdata=file_get_contents("http://wetu.com/API/Itinerary/V7/Get?id=".$wetu_id); |
| 527 |
|
|