Title: Simple CSV Exporter
Author: Toro_Unit (Hiroshi Urabe)
Published: <strong>11 de Decembro, 2020</strong>
Last modified: 29 de Novembro, 2024

---

Buscar plugins

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

![](https://s.w.org/plugins/geopattern-icon/simple-csv-exporter.svg)

# Simple CSV Exporter

 Por [Toro_Unit (Hiroshi Urabe)](https://profiles.wordpress.org/toro_unit/)

[Descargar](https://downloads.wordpress.org/plugin/simple-csv-exporter.3.0.2.zip)

 * [Detalles](https://gl.wordpress.org/plugins/simple-csv-exporter/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/simple-csv-exporter/#reviews)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/simple-csv-exporter/#developers)

 [Soporte](https://wordpress.org/support/plugin/simple-csv-exporter/)

## Descrición

Simple CSV Exporter. Exported CSV can be imported with [Really Simple CSV Importer](https://ja.wordpress.org/plugins/really-simple-csv-importer/).

When you select a post type, the posts will be exported.

Github Repo: [https://github.com/hamworks/simple-csv-exporter](https://github.com/hamworks/simple-csv-exporter)

#### Customize the data to be exported

Customize for column.

    ```
    use HAMWORKS\WP\Simple_CSV_Exporter\Data_Builder;
    add_action( 'simple_csv_exporter_created_data_builder', 
        function ( Data_Builder $data ) {
            // Remove column.
            $data->append_drop_column( 'page_template' );
            // Add custom field column.
            $data->append_meta_key( 'my_meta_key' );
        }
    );
    ```

Customize posts for export.

    ```
    add_action( 'simple_csv_exporter_data_builder_for_wp_posts_pre_get_posts', 
        function ( WP_Query $query ) {
            $query->set( 'order', 'ASC' );
        }
    );
    ```

Data filter for metadata.

    ```
    add_filter( 'simple_csv_exporter_data_builder_for_wp_posts_get_post_meta_fields',
        function ( array $fields ) {
            foreach (
                array(
                    'your_flag',
                ) as $key
            ) {
                if ( isset( $fields[ $key ] ) ) {
                    $fields[ $key ] = ! empty( $fields[ $key ] ) ? 'TRUE' : 'FALSE';
                }
            }
            return $fields;
        }
    );
    ```

Data filter for post.

    ```
    add_filter(
        'simple_csv_exporter_data_builder_for_wp_posts_row_data',
        function ( $row_data, $post ) {
            $row_data['permalink'] = get_permalink( $post );
            unset( $row_data['comment_status'] );
            return $row_data;
        },
        10,
        2
    );
    ```

## Comentarios

![](https://secure.gravatar.com/avatar/e0ba1d0a1b683e686a07e412f865e44e348ff7934b54684e7b0fe2cab7ab7b0b?
s=60&d=retro&r=g)

### 󠀁[Does exactly what it says in the title!](https://wordpress.org/support/topic/does-exactly-what-it-says-in-the-title/)󠁿

 [Aurovrata Venet](https://profiles.wordpress.org/aurovrata/) 21 de Abril, 2025

Simplicity is the key to a powerful tool. This is the sister plugin of Really Simple
CSV Importer, and both do a remarkable job of manipulating post data in and out 
of the DB. The one thing missing is the ability to export other types of data, users,
taxonomies, attachment meta-data…it would be a real complete swiss-army knife with
the ability to also export these other data types. This way you can batch fix missing
pieces of meta-data in your DB by simply sorting through it in a google sheet

 [ Ler a 1 opinión ](https://wordpress.org/support/plugin/simple-csv-exporter/reviews/)

## Colaboradores e desenvolvedores

“Simple CSV Exporter” é un software de código aberto. As seguintes persoas colaboraron
con este plugin.

Colaboradores

 *   [ Toro_Unit (Hiroshi Urabe) ](https://profiles.wordpress.org/toro_unit/)
 *   [ hamworks ](https://profiles.wordpress.org/hamworks/)

[Traduce “Simple CSV Exporter” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/simple-csv-exporter)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/simple-csv-exporter/),
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/simple-csv-exporter/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/simple-csv-exporter/)
por [RSS](https://plugins.trac.wordpress.org/log/simple-csv-exporter/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 3.0.0

 * Add support UTF-8 with BOM.
 * Refactor code.

#### 2.2.0

 * Add `simple_csv_exporter_data_builder_for_wp_posts_get_the_terms_field` filter.

#### 2.1.7

 * Fix taxonomy export.

#### 2.1.0

 * Rename hooks.
 * Add `simple_csv_exporter_data_builder_for_wp_posts_row_data` filter.

#### 2.0.1

 * Tested on WP 6.0
 * Drop support WP 5.7 and PHP 7.3

#### 2.0.0

 * Use PHP-DI.
 * Refactoring.

#### 1.1.0

 * Refactoring release.

#### 1.0.0

 * first release.

#### 0.0.1

 * internal release.

## Meta

 *  Versión **3.0.2**
 *  Última actualización **Fai 2 anos**
 *  Instalacións activas **300+**
 *  Versión de WordPress ** 5.8 ou superior **
 *  Probado ata **6.7.5**
 *  Versión de PHP ** 8.0 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/simple-csv-exporter/)
 * Etiquetas
 * [csv](https://gl.wordpress.org/plugins/tags/csv/)[export](https://gl.wordpress.org/plugins/tags/export/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/simple-csv-exporter/advanced/)

## Valoracións

 5 de 5 estrelas

 *  [  1 valoración de 5 estrelas     ](https://wordpress.org/support/plugin/simple-csv-exporter/reviews/?filter=5)
 *  [  0 valoracións de 4 estrelas     ](https://wordpress.org/support/plugin/simple-csv-exporter/reviews/?filter=4)
 *  [  0 valoracións de 3 estrelas     ](https://wordpress.org/support/plugin/simple-csv-exporter/reviews/?filter=3)
 *  [  0 valoracións de 2 estrelas     ](https://wordpress.org/support/plugin/simple-csv-exporter/reviews/?filter=2)
 *  [  0 valoracións de 1 estrelas     ](https://wordpress.org/support/plugin/simple-csv-exporter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/simple-csv-exporter/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/simple-csv-exporter/reviews/)

## Colaboradores

 *   [ Toro_Unit (Hiroshi Urabe) ](https://profiles.wordpress.org/toro_unit/)
 *   [ hamworks ](https://profiles.wordpress.org/hamworks/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/simple-csv-exporter/)

## Doar

Queres apoiar o progreso deste plugin?

 [ Dona a este plugin ](https://www.paypal.me/torounit)