wp_cache_clear
Clear cached data for a WordPress site to resolve stale content and show recent changes. Optionally target specific cache entries by pattern.
Instructions
Clear cache for a WordPress site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site ID to clear cache for. | |
| pattern | No | Optional pattern to clear specific cache entries (e.g., "posts", "categories"). |