Add wp theme cache command
@swissspidy is already working on this.
Since Feb 2, 2026.
Assessment
This issue has not been assessed yet.
Description
Feature Request
- Yes, I reviewed the contribution guidelines.
Describe your use case and the problem you are facing
Add the following commands
wp theme cache <theme> get <key>
wp theme cache <theme> add <key> <data>
wp theme cache <theme> delete
Describe the solution you'd like
Add command would map to the method cache_add on WP_Theme class.
Get command would map to the method cache_get on WP_Theme class.
Delete command would map to the method cache_delete on WP_Theme class.
This would help manage and clear theme related caches.
- Dominant language
- Gherkin
- Stars
- 90
- Forks
- 88
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wp-cli/extension-command
-
command:plugin-update command:theme-update
Difficulty 4/5 3-5 days Newbie friendliness 48/100
wp-cli/extension-command#555 ·
-
bug command:plugin-update state:unconfirmed
Difficulty 4/5 3-5 days Newbie friendliness 48/100
wp-cli/extension-command#548 · 2 comments ·
-
opcache invalidation Opencommand:plugin-update command:theme-update
wp-cli/extension-command#444 · 10 comments · 1 reaction · 2 assignees ·