Tutorial - Command Palette API
Command Palette API
Welcome to the practical and insightful tutorial on the WordPress Command Palette API. It's a user-friendly feature that makes it easy for developers and users to interact with the WordPress Admin Panel. Using a simple keystroke, users can access any administration screen, execute commands, and add or extend own commands. This tutorial will guide you step-by-step on how to use this powerful yet underutilized feature effectively.
Related Resources
Links to related content on Learn, HelpHub, DevHub, GitHub Gutenberg Issues, DevNotes, etc.
- [ ] https://make.wordpress.org/core/2023/07/17/introducing-the-wordpress-command-palette-api/
Guidelines
Review the team guidelines
Tutorial Development Checklist
- [ ] Vetted by instructional designers for content idea
- [ ] Provide feedback of the idea
- [ ] Gather links to Support and Developer Docs
- [ ] Review any related material on Learn
- [ ] Define several SEO keywords to use in the article and where they should be prominently used
- [ ] Description and Objectives finalized
- [ ] Tutorial created and announced to the team for Q/A review
- [ ] Tutorial reviewed and ready to publish
- [ ] Tutorial submitted and published to WPTV
- [ ] Tutorial published on WPTV
- [ ] Tutorial captioned
- [ ] Tutorial created on Learn.WordPress.org
- [ ] Tutorial post reviewed for grammar, spelling, etc.
- [ ] Tutorial published on Learn.WordPress.org
- [ ] Tutorial announced to Marketing Team for promotion
SEO Keywords
- WordPress Command Palette API
- WordPress API
- Using Command Palette in WordPress
- Tutorial for WordPress Command Palette
- Introducing Command Palette API
WP 6.4 https://github.com/WordPress/gutenberg/pull/53073 Add common commands (breadcrumbs, live preview, pre-publish checklist)
@jonathanbossenger will this be covered in a developer pathway?
During the development of the Beginner WordPress Developer Learning Pathway, we initially had a module on common APIs. However, this module was removed. The two main reasons were that it only included older PHP APIs and not any of the newer ones, and some further research into the newer APIs was required. So for beginners, we focused on the main APIs that developers might use (eg, REST API)
In my opinion, what would make sense here is a separate course covering an introduction to all the available APIs, with example usages of each.
I will create a tracking issue for such a course, and add this API, as well as the others, to that issue during the course of this week.