classes/class-wetu-importer-accommodation.php 1 location
|
@@ 470-476 (lines=7) @@
|
| 467 |
|
delete_option( 'wetu_importer_accommodation_settings' ); |
| 468 |
|
|
| 469 |
|
// @codingStandardsIgnoreLine |
| 470 |
|
if ( isset( $_POST['content'] ) && is_array( $_POST['content'] ) && ! empty( $_POST['content'] ) ) { |
| 471 |
|
// @codingStandardsIgnoreLine |
| 472 |
|
$content = $_POST['content']; |
| 473 |
|
add_option( 'wetu_importer_accommodation_settings',$content ); |
| 474 |
|
} else { |
| 475 |
|
$content = false; |
| 476 |
|
} |
| 477 |
|
|
| 478 |
|
$jdata = file_get_contents( $this->url . '/Get?' . $this->url_qs . '&ids=' . $wetu_id ); |
| 479 |
|
|
classes/class-wetu-importer-tours.php 1 location
|
@@ 528-534 (lines=7) @@
|
| 525 |
|
delete_option( 'wetu_importer_tour_settings' ); |
| 526 |
|
|
| 527 |
|
// @codingStandardsIgnoreLine |
| 528 |
|
if ( isset( $_POST['content'] ) && is_array( $_POST['content'] ) && ! empty( $_POST['content'] ) ) { |
| 529 |
|
// @codingStandardsIgnoreLine |
| 530 |
|
$content = $_POST['content']; |
| 531 |
|
add_option( 'wetu_importer_tour_settings',$content ); |
| 532 |
|
} else { |
| 533 |
|
$content = false; |
| 534 |
|
} |
| 535 |
|
|
| 536 |
|
$jdata = file_get_contents( 'http://wetu.com/API/Itinerary/V7/Get?id=' . $wetu_id ); |
| 537 |
|
|
classes/class-wetu-importer-destination.php 1 location
|
@@ 509-515 (lines=7) @@
|
| 506 |
|
delete_option( 'wetu_importer_destination_settings' ); |
| 507 |
|
|
| 508 |
|
// @codingStandardsIgnoreLine |
| 509 |
|
if ( isset( $_POST['content'] ) && is_array( $_POST['content'] ) && ! empty( $_POST['content'] ) ) { |
| 510 |
|
// @codingStandardsIgnoreLine |
| 511 |
|
$content = $_POST['content']; |
| 512 |
|
add_option( 'wetu_importer_destination_settings', $content ); |
| 513 |
|
} else { |
| 514 |
|
$content = false; |
| 515 |
|
} |
| 516 |
|
|
| 517 |
|
$jdata = file_get_contents( $this->url . '/Get?' . $this->url_qs . '&ids=' . $wetu_id ); |
| 518 |
|
|