

Duplicate Menu button in the menu editor footer.
Swift Menu Duplicator gives you full control over your WordPress navigation menus. Clone any menu in one click, manage all menus from a dedicated admin page, version them with snapshots, move them across Multisite sub-sites, and automate everything from the command line or REST API.
swift_menu_duplicator_new_menu_name to override the default “(Copy)” suffixFull REST API at /wp-json/cmd/v1/ for headless and block-editor integrations:
POST /menus/{id}/duplicate — duplicate a menu (optional name parameter)GET /menus/{id}/export — export a menu as a JSON payloadPOST /menus/{id}/items/{item_id}/duplicate — duplicate a single menu itemPermission is controlled by the swmd_rest_permission filter (defaults to edit_theme_options).
Full command-line support under the wp swift-menu-duplicator command group:
wp swift-menu-duplicator duplicate <menu-id> [--name=<name>] — duplicate a menuwp swift-menu-duplicator export <menu-id> [--output=<file>] — export to JSONwp swift-menu-duplicator import <file> [--name=<name>] [--find=<str>] [--replace=<str>] [--dry-run] [--porcelain] — import from JSONwp swift-menu-duplicator copy-to-site <menu-id> --target-blog=<id> [--name=<name>] [--find=<str>] [--replace=<str>] — copy to a sub-site_icl_lang_duplicate_of, wpml_language, etc.) are stripped from duplicated items automatically_pll_synced_taxonomies, _pll_menu_language, etc.) are stripped from duplicated items automaticallyswmd_compat_excluded_meta_keys filterswift_menu_duplicator_new_menu_name — customise the default duplicate nameswmd_rest_permission — control REST API accessswmd_before_duplicate_item / swmd_after_duplicate_menu_item — fired around item duplicationswmd_after_import_menu — fired after a successful importswmd_item_meta_keys — control which meta keys are copiedswmd_compat_excluded_meta_keys — extend the multilingual meta exclusion listwp_update_nav_menu — triggers auto-snapshot before every menu saveedit_theme_options capability checks$wpdb->prepare() — no string concatenationedit_theme_optionsRequirements
edit_theme_options capability