Title: Astro Hide Unpublished Post Types From Menu
Author: Alian Schiavoncini
Published: <strong>juli 30, 2024</strong>
Last modified: augustus 28, 2026

---

Search plugins

![](https://ps.w.org/astro-hide-unpublished-post-types-from-menu/assets/icon-256x256.
png?rev=3127997)

# Astro Hide Unpublished Post Types From Menu

 By [Alian Schiavoncini](https://profiles.wordpress.org/alian/)

[Download](https://downloads.wordpress.org/plugin/astro-hide-unpublished-post-types-from-menu.1.0.4.zip)

 * [Details](https://pap-aw.wordpress.org/plugins/astro-hide-unpublished-post-types-from-menu/#description)
 * [Reviews](https://pap-aw.wordpress.org/plugins/astro-hide-unpublished-post-types-from-menu/#reviews)
 *  [Installation](https://pap-aw.wordpress.org/plugins/astro-hide-unpublished-post-types-from-menu/#installation)
 * [Development](https://pap-aw.wordpress.org/plugins/astro-hide-unpublished-post-types-from-menu/#developers)

 [Support](https://wordpress.org/support/plugin/astro-hide-unpublished-post-types-from-menu/)

## Description

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.

### Wordefence vendor verification key

gsphudo7by90lzwdlihyerqxbzj6jiln

### License

This plugin is licensed under the GPLv2 or later. For more information, see the 
[GPLv2 license](https://www.gnu.org/licenses/gpl-2.0.html).

## Installation

 1. Upload the `astro-hide-unpublished-post-types-from-menu` folder to the `/wp-content/
    plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. The plugin will automatically hide unpublished post types in menus.

## FAQ

### Can I customize which post statuses are hidden?

Currently, the plugin is designed to hide all post types except those with the “
published” status. Customization would require modifying the plugin code.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Astro Hide Unpublished Post Types From Menu” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Alian Schiavoncini ](https://profiles.wordpress.org/alian/)

[Translate “Astro Hide Unpublished Post Types From Menu” into your language.](https://translate.wordpress.org/projects/wp-plugins/astro-hide-unpublished-post-types-from-menu)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/astro-hide-unpublished-post-types-from-menu/),
check out the [SVN repository](https://plugins.svn.wordpress.org/astro-hide-unpublished-post-types-from-menu/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/astro-hide-unpublished-post-types-from-menu/)
by [RSS](https://plugins.trac.wordpress.org/log/astro-hide-unpublished-post-types-from-menu/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.4

 * Changed: the text domain is now astro-hide-unpublished-post-types-from-menu, 
   matching the plugin slug as required to receive translations from translate.wordpress.
   org.
 * Fixed: the installation instructions referenced the wrong plugin folder name.

#### 1.0.3

 * Compatibility: tested with WordPress 7.1.

#### 1.0.2

 * Changed: the plugin author is now Alian Schiavoncini (https://www.alian.it). 
   The previous AstroThemes website and email address are no longer active.
 * Compatibility: tested with WordPress 7.0.
 * Changed: added the ASTRO_HUPT_VERSION constant.

#### 1.0.1

 * Added full compatibility with WordPress version 6.8.3
 * Added Wordefence vendor verification key

#### 1.0.0

 * Initial version

## Meta

 *  Version **1.0.4**
 *  Last updated **1 month ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.2 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/astro-hide-unpublished-post-types-from-menu/)
 * Tags
 * [hide](https://pap-aw.wordpress.org/plugins/tags/hide/)[menu](https://pap-aw.wordpress.org/plugins/tags/menu/)
   [menus](https://pap-aw.wordpress.org/plugins/tags/menus/)[post types](https://pap-aw.wordpress.org/plugins/tags/post-types/)
   [unpublished](https://pap-aw.wordpress.org/plugins/tags/unpublished/)
 *  [Advanced View](https://pap-aw.wordpress.org/plugins/astro-hide-unpublished-post-types-from-menu/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/astro-hide-unpublished-post-types-from-menu/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/astro-hide-unpublished-post-types-from-menu/reviews/)

## Contributors

 *   [ Alian Schiavoncini ](https://profiles.wordpress.org/alian/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/astro-hide-unpublished-post-types-from-menu/)