wp_cache_clear
Clear WordPress cache to improve site performance. Optionally specify a pattern to clear specific cache entries like posts or categories.
Instructions
Clear cache for a WordPress site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The ID of the WordPress site to target (from mcp-wordpress.config.json). Required if multiple sites are configured. | |
| pattern | No | Optional pattern to clear specific cache entries (e.g., "posts", "categories"). |