wp_cache_clear
Clear the cache for a WordPress site to ensure visitors see updated content. Optionally specify a pattern to clear only specific cache entries.
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"). |