{"id":174462,"date":"2023-06-01T02:42:07","date_gmt":"2023-06-01T02:42:07","guid":{"rendered":"https:\/\/ja.wordpress.org\/plugins\/csv-import-and-exporter\/"},"modified":"2025-06-26T05:29:51","modified_gmt":"2025-06-26T05:29:51","slug":"csv-import-and-exporter","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/csv-import-and-exporter\/","author":7433060,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.8.5","requires":"3.0","requires_php":"","requires_plugins":null,"header_name":"CSV Import and Exporter","header_author":"Nakashima Masahiro","header_description":"You can import & export posts in CSV format for each post type. It is compatible with posts' custom fields and custom taxonomies. It is also possible to set the number or date range of posts to download.","assets_banners_color":"3aa39d","last_updated":"2025-06-26 05:29:51","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.amazon.co.jp\/registry\/wishlist\/2TUGZOYJW8T4T\/?_encoding=UTF8&camp=247&creative=7399&linkCode=ur2&tag=wpccc-22","header_plugin_uri":"","header_author_uri":"http:\/\/www.kigurumi.asia","rating":3,"author_block_rating":0,"active_installs":900,"downloads":6293,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"kanakogi","date":"2023-06-01 02:41:41"},"1.0.1":{"tag":"1.0.1","author":"kanakogi","date":"2025-06-26 05:29:51"}},"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2919946,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2919946,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2919946,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2919946,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2919946,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"<code>\/assets\/screenshot-1.png<\/code>","2":"<code>\/assets\/screenshot-2.png<\/code>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[567,3989,1859,22875,87],"plugin_category":[59],"plugin_contributors":[80261],"plugin_business_model":[],"class_list":["post-174462","plugin","type-plugin","status-publish","hentry","plugin_tags-csv","plugin_tags-custom-post","plugin_tags-export","plugin_tags-extract","plugin_tags-import","plugin_category-utilities-and-tools","plugin_contributors-kanakogi","plugin_committers-kanakogi"],"banners":{"banner":"https:\/\/ps.w.org\/csv-import-and-exporter\/assets\/banner-772x250.png?rev=2919946","banner_2x":"https:\/\/ps.w.org\/csv-import-and-exporter\/assets\/banner-1544x500.png?rev=2919946","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/csv-import-and-exporter\/assets\/icon-128x128.png?rev=2919946","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/csv-import-and-exporter\/assets\/screenshot-1.png?rev=2919946","caption":"<code>\/assets\/screenshot-1.png<\/code>"},{"src":"https:\/\/ps.w.org\/csv-import-and-exporter\/assets\/screenshot-2.png?rev=2919946","caption":"<code>\/assets\/screenshot-2.png<\/code>"}],"raw_content":"<!--section=description-->\n<p>You can export posts in CSV format for each post type.\nIt is compatible with posts' custom fields and custom taxonomies.\nIt is also possible to set the number or date range of posts to download.<\/p>\n\n<h3>How to customize export post data<\/h3>\n\n<p>This plugin has below filters.<\/p>\n\n<ul>\n<li>wp_csv_exporter_post_name<\/li>\n<li>wp_csv_exporter_post_title<\/li>\n<li>wp_csv_exporter_post_content<\/li>\n<li>wp_csv_exporter_post_excerpt<\/li>\n<li>wp_csv_exporter_post_status<\/li>\n<li>wp_csv_exporter_post_author<\/li>\n<li>wp_csv_exporter_post_date<\/li>\n<li>wp_csv_exporter_post_modified<\/li>\n<li>wp_csv_exporter_thumbnail_url<\/li>\n<li>wp_csv_exporter_post_tags<\/li>\n<li>wp_csv_exporter_post_category<\/li>\n<li>wp_csv_exporter_tax_{taxonomy}<\/li>\n<li>wp_csv_exporter_{custom_field_key}<\/li>\n<\/ul>\n\n<h4>wp_csv_exporter_post_name<\/h4>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><code>$post_name<\/code> - (required) post slug<\/li>\n<li><code>$post_id<\/code> - (int) post id<\/li>\n<\/ul>\n\n<p>Example:<\/p>\n\n<pre><code>add_filter( 'wp_csv_exporter_post_name', 'wp_csv_exporter_post_name_filter', 10, 3 );\nfunction wp_csv_exporter_post_name_filter( $post_name, $post_id  ) {\n    return $post_name;\n}\n<\/code><\/pre>\n\n<h4>wp_csv_exporter_post_title<\/h4>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><code>$post_title<\/code> - (required) post title<\/li>\n<li><code>$post_id<\/code> - (int) post id<\/li>\n<\/ul>\n\n<p>Example:<\/p>\n\n<pre><code>add_filter( 'wp_csv_exporter_post_title', 'wp_csv_exporter_post_title_filter', 10, 3 );\nfunction wp_csv_exporter_post_title_filter( $post_title, $post_id  ) {\n    $post_title = $post_id . ':' . $post_title;\n    return $post_title;\n}\n<\/code><\/pre>\n\n<h4>wp_csv_exporter_post_content<\/h4>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><code>$post_content<\/code> - (required) post content<\/li>\n<li><code>$post_id<\/code> - (int) post id<\/li>\n<\/ul>\n\n<h4>wp_csv_exporter_post_excerpt<\/h4>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><code>$post_excerpt<\/code> - (required) post excerpt<\/li>\n<li><code>$post_id<\/code> - (int) post id<\/li>\n<\/ul>\n\n<h4>wp_csv_exporter_post_status<\/h4>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><code>$post_status<\/code> - (required) post status<\/li>\n<li><code>$post_id<\/code> - (int) post id<\/li>\n<\/ul>\n\n<h4>wp_csv_exporter_post_author<\/h4>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><code>$post_author<\/code> - (required) post author<\/li>\n<li><code>$post_id<\/code> - (int) post id<\/li>\n<\/ul>\n\n<h4>wp_csv_exporter_post_date<\/h4>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><code>$post_date<\/code> - (required) post date<\/li>\n<li><code>$post_id<\/code> - (int) post id<\/li>\n<\/ul>\n\n<h4>wp_csv_exporter_post_modified<\/h4>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><code>$post_modified<\/code> - (required) post modified date<\/li>\n<li><code>$post_id<\/code> - (int) post id<\/li>\n<\/ul>\n\n<h4>wp_csv_exporter_post_thumbnail_url<\/h4>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><code>$post_thumbnail_url<\/code> - (required) post thumbnail_url<\/li>\n<li><code>$post_id<\/code> - (int) post id<\/li>\n<\/ul>\n\n<h4>wp_csv_exporter_post_tags<\/h4>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><code>$post_tags<\/code> - (array)(required) post tags<\/li>\n<li><code>$post_id<\/code> - (int) post id<\/li>\n<\/ul>\n\n<p>Example:<\/p>\n\n<pre><code>add_filter( 'wp_csv_exporter_post_tags', 'wp_csv_exporter_post_tags_filter', 10, 3 );\nfunction wp_csv_exporter_post_tags_filter( $post_tags, $post_id  ) {\n    $_post_tags = array();\n    foreach ( $post_tags as $key =&gt; $tag ) {\n        $_post_tags[] = 'Tag:'.$tag;\n    }\n    return $_post_tags;\n}\n<\/code><\/pre>\n\n<h4>wp_csv_exporter_category<\/h4>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><code>$category<\/code> - (array)(required) post category<\/li>\n<li><code>$post_id<\/code> - (int) post id<\/li>\n<\/ul>\n\n<p>Example:<\/p>\n\n<pre><code>add_filter( 'wp_csv_exporter_category', 'wp_csv_exporter_category_filter', 10, 3 );\nfunction wp_csv_exporter_post_category_filter( $category, $post_id  ) {\n    $_category = array();\n    foreach ( $category as $key =&gt; $value ) {\n        $_category[] = 'Category:'.$value;\n    }\n    return $_category;\n}\n<\/code><\/pre>\n\n<h4>wp_csv_exporter_tax_{taxonomy}<\/h4>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><code>$term_values<\/code> - (array)(required) post taxonomy<\/li>\n<li><code>$post_id<\/code> - (int) post id<\/li>\n<\/ul>\n\n<p>Example: taxonomy = \"dogs\"<\/p>\n\n<pre><code>add_filter( 'wp_csv_exporter_tax_dogs', 'wp_csv_exporter_tax_dogs_filter', 10, 3 );\nfunction wp_csv_exporter_tax_dogs_filter( $term_values, $post_id ) {\n    $_term_values = array();\n    foreach ( $term_values as $key =&gt; $term_value ) {\n        $_term_values[] = 'Dog:'.$term_value;\n    }\n    return $_term_values;\n}\n<\/code><\/pre>\n\n<h4>wp_csv_exporter_{custom_field_key}<\/h4>\n\n<p>Parameters:<\/p>\n\n<ul>\n<li><code>$field<\/code> - (required) post custom field<\/li>\n<li><code>$post_id<\/code> - (int) post id<\/li>\n<\/ul>\n\n<p>Example: custom field key = \"price\"<\/p>\n\n<pre><code>add_filter( 'wp_csv_exporter_price', 'wp_csv_exporter_price_filter', 10, 3 );\nfunction wp_csv_exporter_price_filter( $field, $post_id ) {\n    return 'Price:'.$field;\n}\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire <code>wp-csv-import-exporter<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>The control panel of WP CSV Exporter is in 'Tools &gt; CSV Export' &amp; 'Tools &gt; CSV Import'.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p><strong>1.0.0 - April 14, 2023<\/strong>\nInitial release.<\/p>","raw_excerpt":"You can import &amp; export posts in CSV format for each post type. It is compatible with posts&#039; custom fields and custom taxonomies.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/174462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=174462"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kanakogi"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=174462"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=174462"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=174462"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=174462"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=174462"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=174462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}