classes/class-wetu-importer-accommodation.php 1 location
|
@@ 330-332 (lines=3) @@
|
| 327 |
|
//If this is a current tour, add its ID to the row. |
| 328 |
|
$row['post_id'] = 0; |
| 329 |
|
|
| 330 |
|
if ( false !== $current_accommodation && array_key_exists( $row['id'], $current_accommodation ) ) { |
| 331 |
|
$row['post_id'] = $current_accommodation[ $row['id'] ]->post_id; |
| 332 |
|
} |
| 333 |
|
|
| 334 |
|
//If we are searching for |
| 335 |
|
if ( false !== $post_status ) { |
classes/class-wetu-importer-destination.php 1 location
|
@@ 388-390 (lines=3) @@
|
| 385 |
|
//If this is a current tour, add its ID to the row. |
| 386 |
|
$row['post_id'] = 0; |
| 387 |
|
|
| 388 |
|
if ( false !== $current_accommodation && array_key_exists( $row['id'], $current_accommodation ) ) { |
| 389 |
|
$row['post_id'] = $current_accommodation[ $row['id'] ]->post_id; |
| 390 |
|
} |
| 391 |
|
|
| 392 |
|
//If we are searching for |
| 393 |
|
if ( false !== $post_status ) { |