CSV Import and Exporter
You can 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. How to customize export post data This plugin has below filters. wp_csv_exporter_post_name wp_csv_exporte
You can 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.
How to customize export post data
This plugin has below filters.
- wp_csv_exporter_post_name
- wp_csv_exporter_post_title
- wp_csv_exporter_post_content
- wp_csv_exporter_post_excerpt
- wp_csv_exporter_post_status
- wp_csv_exporter_post_author
- wp_csv_exporter_post_date
- wp_csv_exporter_post_modified
- wp_csv_exporter_thumbnail_url
- wp_csv_exporter_post_tags
- wp_csv_exporter_post_category
- wp_csv_exporter_tax_{taxonomy}
- wp_csv_exporter_{custom_field_key}
wp_csv_exporter_post_name
Parameters:
- $post_name – (required) post slug
- $post_id – (int) post id
Example:
add_filter( 'wp_csv_exporter_post_name', 'wp_csv_exporter_post_name_filter', 10, 3 ); function wp_csv_exporter_post_name_filter( $post_name, $post_id ) { return $post_name; }
wp_csv_exporter_post_title
Parameters:
- $post_title – (required) post title
- $post_id – (int) post id
Example:
add_filter( 'wp_csv_exporter_post_title', 'wp_csv_exporter_post_title_filter', 10, 3 ); function wp_csv_exporter_post_title_filter( $post_title, $post_id ) { $post_title = $post_id . ':' . $post_title; return $post_title; }
wp_csv_exporter_post_content
Parameters: