classes/class-wetu-importer-accommodation.php 1 location
|
@@ 331-333 (lines=3) @@
|
| 328 |
|
//If this is a current tour, add its ID to the row. |
| 329 |
|
$row['post_id'] = 0; |
| 330 |
|
|
| 331 |
|
if ( false !== $current_accommodation && array_key_exists( $row['id'], $current_accommodation ) ) { |
| 332 |
|
$row['post_id'] = $current_accommodation[ $row['id'] ]->post_id; |
| 333 |
|
} |
| 334 |
|
|
| 335 |
|
//If we are searching for |
| 336 |
|
if ( false !== $post_status ) { |
classes/class-wetu-importer-destination.php 1 location
|
@@ 380-382 (lines=3) @@
|
| 377 |
|
//If this is a current tour, add its ID to the row. |
| 378 |
|
$row['post_id'] = 0; |
| 379 |
|
|
| 380 |
|
if ( false !== $current_accommodation && array_key_exists( $row['id'], $current_accommodation ) ) { |
| 381 |
|
$row['post_id'] = $current_accommodation[ $row['id'] ]->post_id; |
| 382 |
|
} |
| 383 |
|
|
| 384 |
|
//If we are searching for |
| 385 |
|
if ( false !== $post_status ) { |