WordPress: clear the page cache
wp_cache_purgeClear the site's page cache (LiteSpeed, WP Rocket, W3 Total Cache, WP Super Cache, SiteGround) for one page or the whole site, so a change shows without a login. Bridge edits already clear it themselves; use this after a change made some other way. Needs Bridge 1.7.0+.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| post_id | No | One page; leave out for the whole site |