Force Transient Refresh
Have you ever worked with transients and found yourself switching back and forth between your database and your code to make changes? Not anymore! With Force Transient Refresh, you can clear all transients by adding a query string parameter to whatever URL you are trying to load. Not for use in prod
Have you ever worked with transients and found yourself switching back and forth between your database and your code to make changes? Not anymore!
With Force Transient Refresh, you can clear all transients by adding a query string parameter to whatever URL you are trying to load.
Not for use in production. Should be used when you are developing locally and don’t want to load up your database to clear out transients.
GitHub Repo
- 01Upload force-transient-refresh to the /wp-content/plugins/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03Navigate to a page that loads transients and add ?ftr to the URL
- 04Experience the joys of fresh transients.
Frequently asked questions.
Can I use this in production?
You can, but don’t.
`ftr` is way too short and I hate it. Is there a longer parameter that will trigger the refresh?
Yes- you can also trigger the refresh by adding ?force_transient_refresh to the URL.