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