feat: add public_url on exporter csv
This commit is contained in:
parent
880c3c00eb
commit
a31a85acd6
|
@ -98,6 +98,8 @@ class CSV extends Exporter {
|
|||
|
||||
$line[] = $item->get_modification_date();
|
||||
|
||||
$line[] = get_permalink( $item->get_id() );
|
||||
|
||||
$line_string = $this->str_putcsv($line, $this->get_option('delimiter'), $this->get_option('enclosure'));
|
||||
|
||||
$this->append_to_file($this->collection_name, $line_string."\n");
|
||||
|
@ -229,6 +231,7 @@ class CSV extends Exporter {
|
|||
$line[] = 'creation_date';
|
||||
$line[] = 'user_last_modified';
|
||||
$line[] = 'modification_date';
|
||||
$line[] = 'public_url';
|
||||
|
||||
$line_string = $this->str_putcsv($line, $this->get_option('delimiter'), $this->get_option('enclosure'));
|
||||
|
||||
|
|
Loading…
Reference in New Issue