=== Hide Current Page From Menu – Advanced === Contributors: cradlean Tags: menu, hide current page, navigation, user roles Requires at least: 5.0 Tested up to: 6.8 Stable tag: 1.0 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Hides the current page menu item dynamically with advanced options for roles, menu locations, and post types. == Description == This plugin hides the current page menu item in WordPress menus, supporting nested menus, user roles, menu locations, and post types. == Installation == 1. Upload the plugin folder to `/wp-content/plugins/`. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Configure settings under 'Menu Settings' in the WordPress admin. == Screenshots == 1. Screenshot of settings page. == Changelog == = 1.0 = * Initial release. * Hides current page menu items with exclusions by role, menu, and items. * Added support for nested menus and ancestor cleanup. * Supports pages, posts, and custom post types. == Upgrade Notice == = 1.0 = First stable release with full role, menu, and post type exclusions plus nested menu support. == Frequently Asked Questions == = How do I configure the plugin? = Go to Settings → Menu Settings and choose which menu items, roles, or locations to exclude. = Does this plugin support custom post types? = Yes, menu items linked to custom post types are supported. = Will it break my theme? = No, the plugin only filters menu output safely using WordPress hooks.