-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Feature Request
In WordPress 6.1, wp_cache_flush_group was added to core. See blog post.
This function, allows for developers to clear all keys in a cache group, instead of one key at a time.
Describe the solution you'd like
Create a new command that allows for the wp_cache_flush_group function to be called, like so
wp cache clear group <group>
Before calling this function, if should check if the object cache support this functionality, by calling wp_cache_supports and fail fast if the current object cache doesn't support this functionality.
Reactions are currently unavailable