=== Disable Commands - Custom Key Binding in Command Palette === Contributors: kakon4366 Tags: command palette, commands, shortcuts, key binding Requires at least: 6.9 Tested up to: 6.9 Stable tag: 1.0.0 Requires PHP: 7.4 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html Adds comprehensive control over the WordPress admin command palette, including the ability to disable it or assign a custom keyboard shortcut. == Description == Disable Commands - Custom Key Binding gives you full control over the WordPress Command Palette (introduced in WordPress 6.9). This plugin is essential if you need to: * Resolve keyboard shortcut conflicts with other software or browser extensions. * Simplify the admin interface for yourself or your clients. * Prevent the accidental triggering of the command palette. * Customize the default shortcut to better fit your personal workflow. **Features include:** 1. **Disable Command Palette:** A simple toggle to completely disable the `wp-commands` script. 2. **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, use `Ctrl + Shift + P` instead of the default `Ctrl/Cmd + K`. All settings are managed from a single, user-friendly page in the WordPress admin. == Installation == 1. Search WordPress org and Upload the plugin files to the `/wp-content/plugins` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress. 3. Navigate to **Settings > Disable Commands** to configure the plugin options. == Frequently Asked Questions == = Does this plugin disable the Command Palette in the Site Editor? = Currently, this plugin primarily targets the admin command palette script (`wp-commands`) in the WordPress dashboard. = Can I re-enable the palette after disabling it? = Yes. Simply uncheck the "Disable Command Palette" option on the settings page and save your changes. = 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. = What happens if I define a shortcut that's already in use by my browser? = The plugin will assign the shortcut within WordPress, but browser shortcuts typically take priority. It is recommended to choose a combination not heavily used by your browser to avoid conflicts. == Screenshots == 1. The main settings page. * The "Disable Command Palette" toggle. * The "Override Default Shortcut" toggle to enable custom key binding. * Interactive controls to select modifier keys and define your custom character key. == Configuration == On the plugin's settings page, you will find two main sections: **1. Disable Command Palette** * **Option:** Check this box to disable the WordPress admin command palette (Cmd+K / Ctrl+K). **2. Custom Key Binding** * **Override Default Shortcut:** Check this box to activate the custom shortcut 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. == Changelog == = 1.0.0 = * Initial release with core functionality: * Ability to completely disable the command palette. * Full custom key binding support to remap the shortcut.