Description
Cleaning navigation menus by hiding all draft posts, pending review posts, future posts, private and trashed posts.
Memo: users with the role Editor or greater have the access to the all posts.
Installation
- Unzip the archive on your computer
- Upload
clean-menusdirectory to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- That’s all!
FAQ
How to change the list of [not] accessible post statuses?
Use filter ‘clean_menus_excluded_types’.
Changelog
1.0.5
- Tested up to WordPress 6.4.
1.0.4
- WordPress 6.0 support.
1.0.3
- WordPress 5.3 support added.
1.0.2
- WordPress 5.2 support added.
1.0.1
- Updated file-header information and readme.txt
1.0.0
- Initial release.
