{"id":198339,"date":"2024-07-30T08:41:01","date_gmt":"2024-07-30T08:41:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/astro-hide-unpublished-post-types-from-menu\/"},"modified":"2025-10-31T17:41:46","modified_gmt":"2025-10-31T17:41:46","slug":"astro-hide-unpublished-post-types-from-menu","status":"publish","type":"plugin","link":"https:\/\/ceb.wordpress.org\/plugins\/astro-hide-unpublished-post-types-from-menu\/","author":76419,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.8.5","requires":"5.2","requires_php":"7.4","requires_plugins":null,"header_name":"Astro Hide Unpublished Post Types From Menu","header_author":"AstroThemes","header_description":"Hides from menus all post_types that have a status other than published.","assets_banners_color":"5c5c5c","last_updated":"2025-10-31 17:41:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.astrothemes.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1295,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"alian","date":"2024-07-30 08:44:47"},"1.0.1":{"tag":"1.0.1","author":"alian","date":"2025-10-31 17:41:46"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3127997,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3127997,"resolution":"1544x500","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1244,1865,231,2278,126078],"plugin_category":[43],"plugin_contributors":[95706],"plugin_business_model":[],"class_list":["post-198339","plugin","type-plugin","status-publish","hentry","plugin_tags-hide","plugin_tags-menu","plugin_tags-menus","plugin_tags-post-types","plugin_tags-unpublished","plugin_category-customization","plugin_contributors-alian","plugin_committers-alian"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/astro-hide-unpublished-post-types-from-menu\/assets\/icon-256x256.png?rev=3127997","icon_2x":"https:\/\/ps.w.org\/astro-hide-unpublished-post-types-from-menu\/assets\/icon-256x256.png?rev=3127997","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The \"Astro Hide Unpublished Post Types From Menu\" plugin automatically hides from WordPress menus all post types and pages, including custom post types such as WooCommerce products, that have a status other than \"published\". This feature is useful as it prevents page not found errors (404 errors) for unpublished posts and saves the site administrator time in updating menu items if the post type is updated with a draft, pending, future, private or trash status.<\/p>\n\n<h3>Wordefence vendor verification key<\/h3>\n\n<p>gsphudo7by90lzwdlihyerqxbzj6jiln<\/p>\n\n<h3>License<\/h3>\n\n<p>This plugin is licensed under the GPLv2 or later. For more information, see the <a href=\"https:\/\/www.gnu.org\/licenses\/gpl-2.0.html\">GPLv2 license<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>astro-hide-unpublished-post-types<\/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 plugin will automatically hide unpublished post types in menus.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20customize%20which%20post%20statuses%20are%20hidden%3F'><h3>Can I customize which post statuses are hidden?<\/h3><\/dt>\n<dd><p>Currently, the plugin is designed to hide all post types except those with the \"published\" status. Customization would require modifying the plugin code.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added full compatibility with WordPress version 6.8.3<\/li>\n<li>Added Wordefence vendor verification key<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial version<\/li>\n<\/ul>","raw_excerpt":"Hides from menus all post_types that have a status other than published.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/198339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=198339"}],"author":[{"embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/alian"}],"wp:attachment":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=198339"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=198339"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=198339"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=198339"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=198339"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=198339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}