| 开发者 |
dilipbheda
krishaweb pratikgandhi girishpanchal dhruvang21 gulamdastgir04 |
|---|---|
| 更新时间 | 2026年10月28日 21:16 |
| PHP版本: | 6.6 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
Open the post in the editor, locate the Post Type section in the right sidebar, select the new post type from the dropdown menu, and click Update. The post is transferred immediately without affecting its content or settings.
Yes. The plugin supports all registered post types, including WooCommerce products, CPT UI post types, ACF-generated post types, and custom post types created by themes or plugins.
No. The plugin only changes the post type assignment. Your content, custom fields, featured image, metadata, taxonomies, and other settings remain unchanged.
Yes. It is available in PRO version, you need to select multiple posts from the listing screen, choose Bulk Edit, select the target post type, and click Update to transfer all selected posts at once.
Changing a post type may affect the permalink structure depending on how the post type is configured. If URLs change, you should create 301 redirects to preserve inbound links and maintain search engine rankings.
The free version includes post type transfers from the editor, and Quick Edit, along with custom post type support, CSV import and export, and post visibility controls. The Pro version adds Bulk Edit, selective enablement, Taxonomy Management, Drag-and-Drop Post Reordering, AutoSort, Advanced Reorder Interface, Post Duplication, and WordPress Multisite Support.
Export posts to a CSV file from the plugin settings. The exported file includes post titles, content, featured image URLs, categories, tags, and publication dates. You can import the same file into another WordPress site or use it to recreate content on the current site.
Use the ptt_csv_export_filename filter to customize the CSV filename before download.
Parameters:
$filename (string): Default export filename.$post_type (string): Current post type being exported.Use the ptt_csv_export_columns filter to add, remove, or reorder columns in the exported CSV.
Parameters:
$columns (array): Ordered list of CSV column names.$post_type (string): Current post type being exported.Use the ptt_csv_export_row filter to modify individual CSV row data or populate custom column values.
Parameters:
$row (array): Associative row data (column => value).$post (WP_Post): Current post object.$post_type (string): Current post type being exported.Use the ptt_csv_import_skip_row filter to programmatically skip importing a CSV row.
Parameters:
$skip (bool): Whether the row should be skipped.$data (array): Parsed CSV row data.$post_type (string): Target post type.$row_num (int): CSV row number.Use the ptt_csv_import_post_data filter to change post data before it is passed to wp_insert_post() or wp_update_post().
Parameters:
$post_data (array): Post data that will be saved.$data (array): Parsed CSV row data.$post_type (string): Target post type.$existing (WP_Post|null): Existing matched post object, if available.Use the ptt_csv_import_meta_value filter to modify post meta values before they are stored. Return null to prevent a specific meta key from being saved.
Parameters:
$value (mixed): Meta value.$key (string): Meta key.$post_id (int): Post ID.$post_type (string): Target post type.Use the ptt_csv_import_image_url filter to modify the featured image URL before it is downloaded and attached. Return an empty string to skip importing the image.
Parameters:
$url (string): Original image URL.$post_id (int): Post ID.Use the ptt_enable_post_visibility filter and return false to turn off the visibility meta box and all of its frontend and REST API query filtering. This is useful if you only use the plugin to transfer posts.
add_filter( 'ptt_enable_post_visibility', '__return_false' );
Parameters:
$enabled (bool): Whether post visibility is enabled. Default true.You can request help through the WordPress.org support forum or contact us directly at support@krishaweb.com.
ptt_enable_post_visibility filter to disable the post visibility feature