Description
Disable Commands – Custom Key Binding gives you control over the WordPress command palette (introduced in WordPress 6.9), the quick command-bar that lets you run commands and move around the dashboard using keyboard shortcuts.
If it is part of your daily admin productivity routine, or if its default shortcuts get in the way, this plugin lets you disable the command palette entirely or set your own key binding so it fits the way you actually work.
This plugin is useful if you need to:
* Resolve keyboard shortcut conflicts with other software or browser extensions.
* Simplify the admin interface and command-bar for yourself or your clients.
* Prevent accidental triggering of it and its commands.
* Customize the default shortcut and key binding to better match your own workflow and navigation habits.
* Keep quick admin search available while adjusting how it behaves.
Features include:
- Disable Command Palette: A toggle to completely disable the
wp-commandsscript, hiding the command-bar and its built-in commands from the dashboard. - Custom Key Binding: Remap the command palette shortcut to any combination of modifier keys (Ctrl/Cmd, Alt, Shift) and a single letter, number, or punctuation key. For example, set
Ctrl + Shift + Pinstead of the defaultCtrl/Cmd + K. - Admin Productivity Controls: Keep the commands and admin search features you rely on, while turning off the shortcuts and navigation triggers you don’t need.
All options for it, its shortcuts, and its key binding are managed from a single, user-friendly settings page, so you can adjust commands and navigation without touching any code.
Whether your goal is smoother navigation, faster admin search, or better admin productivity overall, this plugin puts things firmly under your control.
Configuration
On the plugin’s settings page, you will find two main sections for managing it and its shortcuts:
1. Disable Command Palette
* Option: Check this box to disable the WordPress admin command palette and command-bar (Cmd+K / Ctrl+K), removing its default shortcut from the dashboard.
2. Custom Key Binding
* Override Default Shortcut: Check this box to activate the custom key binding feature.
* Shortcut Combination: Use the checkboxes to select your desired modifier keys (Ctrl, Shift, Alt, Cmd/Meta) and the input field to define a single character key (e.g., ‘k’, ‘p’, ‘/’). The default combination is Ctrl/Cmd + K.
Adjusting these settings gives you fine-grained control over commands, navigation, admin search, and overall admin productivity in the WordPress dashboard.
Installation
- Search WordPress.org for “Disable Commands” and upload the plugin files to the
/wp-content/pluginsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Navigate to Settings > Disable Commands to configure its key binding and shortcuts.
FAQ
-
Does this plugin disable the Command Palette in the Site Editor?
-
Currently, this plugin primarily targets the admin command palette script (
wp-commands) and its command-bar in the WordPress dashboard, rather than the Site Editor. -
Can I re-enable it after disabling?
-
Yes. Simply uncheck the “Disable Command Palette” option on the settings page and save your changes to restore the default commands, shortcuts, and navigation behavior.
-
Can I use multiple modifier keys for my custom shortcut?
-
Yes. You can select any combination of the available modifier keys (Ctrl, Cmd/Meta, Alt, Shift) along with a single character key to build a key binding suited to your admin productivity needs.
-
What happens if I define a shortcut that’s already in use by my browser?
-
The plugin assigns the shortcut and key binding within WordPress, but browser shortcuts typically take priority. Choose a combination not heavily used by your browser to avoid conflicts.
-
No. This plugin only controls it, its command-bar, and its shortcuts. Regular admin search and navigation menus continue to work as expected.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Disable Commands – Custom Key Binding in Command Palette” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Disable Commands – Custom Key Binding in Command Palette” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.4
Fixed: Admin Bar Menu Command Icons not hiding issue fixed.
1.0.3
Added: Blueprint json file add for live preview.
1.0.2
- Update: Readme update
1.0.1
- Update: Please refer to the readme for detailed information and a better understanding of the changes.
1.0.0
- Initial release: disable the command palette, remap its shortcuts, and set a custom key binding for improved admin productivity.

