classes/class-lsx-wetu-importer-accommodation.php 1 location
|
@@ 367-376 (lines=10) @@
|
| 364 |
|
die(); |
| 365 |
|
} |
| 366 |
|
|
| 367 |
|
public function prepare_row_attributes( $cs_key, $ccs_id ) { |
| 368 |
|
$row_item = array( |
| 369 |
|
'id' => $cs_key, |
| 370 |
|
'type' => 'Accommodation', |
| 371 |
|
'name' => get_the_title( $ccs_id ), |
| 372 |
|
'last_modified' => date( 'Y-m-d', strtotime( 'now' ) ), |
| 373 |
|
'post_id' => $ccs_id, |
| 374 |
|
); |
| 375 |
|
return $row_item; |
| 376 |
|
} |
| 377 |
|
|
| 378 |
|
/** |
| 379 |
|
* Formats the row for output on the screen. |
classes/class-lsx-wetu-importer-destination.php 1 location
|
@@ 428-437 (lines=10) @@
|
| 425 |
|
die(); |
| 426 |
|
} |
| 427 |
|
|
| 428 |
|
public function prepare_row_attributes( $cs_key, $ccs_id ) { |
| 429 |
|
$row_item = array( |
| 430 |
|
'id' => $cs_key, |
| 431 |
|
'type' => 'Destination', |
| 432 |
|
'name' => get_the_title( $ccs_id ), |
| 433 |
|
'last_modified' => date( 'Y-m-d', strtotime( 'now' ) ), |
| 434 |
|
'post_id' => $ccs_id, |
| 435 |
|
); |
| 436 |
|
return $row_item; |
| 437 |
|
} |
| 438 |
|
|
| 439 |
|
/** |
| 440 |
|
* Formats the row for output on the screen. |