Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Transient Cleaner

Housekeep expired transients from your options table. The original and best!

Learn more about my version numbering methodology


  • Bug: Oops. Although it seemed to work fine on my test system, it looks as if the code for the new 'lite' mode was causing some users errors. I've now (I hope) corrected that. Apologies.


  • Maintenance: Beware the Atom editor and it's default setting of appending extra blank lines! Extra lines have now been removed from the bottom of various files
  • Maintenance: Also took the opportunity to correct my site URLs, as my domain has recently changed (the old URLs still work as I'm smart enough to put redirects in place but, still, it's neater to do it properly)


  • Enhancement: A new option has been added to allow you to run in "lite" mode, where no option screen will be present and default settings will be used. Useful for multi-site installations or just where you want to run with minimal performance impact
  • Enhancement: Re-instated the code change that I removed in 1.4.1 - this time it performs a version check and only calls the extra function if available
  • Enhancement: After WP 4.6 you no longer need to load the plugin's text domain. So I don't!
  • Enhancement: Added a links sidebar to the help drop-down
  • Maintenance: Changed the menu names so they no longer clash with other plugins
  • Maintenance: Making use of yoda conditions to ensure stability of code
  • Bug: Sorted bug which meant that changing the scheduled run time didn't work


  • Maintenance: Updated branding, inc. adding donation links


  • Bug: Awww... biscuits. I was being smart by including a call to a function to check something without realising you have to have WordPress 4.4 for it to work. Thankfully, it's not critical so I've removed it for now and will add a "proper" solution in future


  • Enhancement: Re-written core code to work better with multisite installations
  • Enhancement: Administration screen re-written to be more "in keeping" with the WordPress standard layout. More statistics about cleared transients are also shown
  • Enhancement: Instead of piggy-backing the housekeeping schedule (which some people turn off) I've instead implemented my own - it defaults to midnight but, via the administration screen, you can change it to whatever hour floats your boat
  • Enhancement: For those nerdy enough that they want to code links to our amazing cleaning functions, we've added some super whizzy hooks. Check the instructions about for further details
  • Maintenance: This is now a Code Art production, so the author name has been updated and the donation link (including matching plugin meta) ripped out. I for one welcome our new overlords.
  • Maintenance: Renamed the functions that began with atc_ to tc_
  • Maintenance: I admit it, I've been naughty. I've been hard-coding the plugin folder in INCLUDES. Yes, I know. But I've fixed that now
  • Maintenance: I've validated, sanitized, escaped and licked the data that's sent around the options screen. Okay, I didn't do that last one
  • Bug: Some PHP errors were vanquished


  • Maintenance: Added a text domain and domain path


  • Enhancement: Added links to settings in plugin meta
  • Enhancement: Updated admin screen headings for WP 4.3
  • Enhancement: Now used time() instead of gmmktime(), so as to follow strict usage
  • Bug: Big PHP error clean-up


  • Maintenance: Updated links on plugin meta


  • Bug: Removed PHP error


  • Enhancement: Options are now only available to admin (super admin if a multisite)
  • Bug: Removed reporting of "orphaned" transients - these are actually transients without a timeout


  • Maintenance: Updated the branding of the plugin
  • Enhancement: Added support link to plugin meta


  • Maintenance: Split files because of additional code size
  • Maintenance: Removed run upon activation
  • Enhancement: Improved transient cleaning code efficiency (including housekeeping MU wide transients)
  • Enhancement: Added administration screen (Tools->Transients) to allow ad-hoc runs and specify run options
  • Enhancement: Show within new admin screen whether orphaned transients have been found (in this case full clear of the option table is recommended)
  • Enhancement: Added internationalisation
  • Enhancement: If external memory cache is in use display an admin box to indicate this plugin is not required


  • Enhancement: Transients will be initially housekept when the plugin is activated


  • Initial release

Requires: 3.3 or higher
Compatible up to: 4.7.1
Last Updated: 1 month ago
Active Installs: 5,000+


5 out of 5 stars


1 of 1 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1