classes/class-wetu-importer-accommodation.php 1 location
|
@@ 388-396 (lines=9) @@
|
| 385 |
|
die(); |
| 386 |
|
} |
| 387 |
|
|
| 388 |
|
public function prepare_row_attributes( $cs_key, $ccs_id ) { |
| 389 |
|
return $row_item = array( |
| 390 |
|
'id' => $cs_key, |
| 391 |
|
'type' => 'Accommodation', |
| 392 |
|
'name' => get_the_title( $ccs_id ), |
| 393 |
|
'last_modified' => date('Y-m-d', strtotime( 'now' ) ), |
| 394 |
|
'post_id' => $ccs_id, |
| 395 |
|
); |
| 396 |
|
} |
| 397 |
|
|
| 398 |
|
/** |
| 399 |
|
* Formats the row for output on the screen. |
classes/class-wetu-importer-destination.php 1 location
|
@@ 444-452 (lines=9) @@
|
| 441 |
|
die(); |
| 442 |
|
} |
| 443 |
|
|
| 444 |
|
public function prepare_row_attributes( $cs_key, $ccs_id ) { |
| 445 |
|
return $row_item = array( |
| 446 |
|
'id' => $cs_key, |
| 447 |
|
'type' => 'Destination', |
| 448 |
|
'name' => get_the_title( $ccs_id ), |
| 449 |
|
'last_modified' => date('Y-m-d', strtotime( 'now' ) ), |
| 450 |
|
'post_id' => $ccs_id, |
| 451 |
|
); |
| 452 |
|
} |
| 453 |
|
|
| 454 |
|
/** |
| 455 |
|
* Formats the row for output on the screen. |