mirror of
https://github.com/10h30/wordpress-export-to-markdown.git
synced 2026-07-11 10:46:15 +09:00
Ignore more reserved post types
This commit is contained in:
+6
-1
@@ -41,8 +41,13 @@ function getPostTypes(channelData) {
|
||||
'nav_menu_item',
|
||||
'custom_css',
|
||||
'customize_changeset',
|
||||
'oembed_cache',
|
||||
'user_request',
|
||||
'wp_block',
|
||||
'wp_global_styles',
|
||||
'wp_navigation'
|
||||
'wp_navigation',
|
||||
'wp_template',
|
||||
'wp_template_part'
|
||||
].includes(type));
|
||||
return [...new Set(types)]; // remove duplicates
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user