Open
Description
Feature Request
- Yes, I reviewed the contribution guidelines.
Describe your use case and the problem you are facing
Flushing the entire cache can be expensive, and sometimes you can flush just a group but that doesn't cover everything.
On the other hand there are functions that clear term caches that also touch some options, these aren't represented in CLI without forcing you to open a shell and execute the PHP call directly. Not all hosts allow this.
Describe the solution you'd like
A way to do something like https://developer.wordpress.org/reference/functions/clean_term_cache/ or https://developer.wordpress.org/reference/functions/clean_comment_cache/ etc without writing raw PHP code