WordPressplugin and theme developers often use Transients to store timely information in your database to speed up your site. If you’re in the process of building your site, and you realize that certain elements like popular posts or twitter widgets are not changing, then you probably tried emptying your cache only to realize that doesn’t do anything. In this article, we will show you how to manage and delete transients in WordPress without going into your database.
What are Transients?
The Transients API allows developers to store information in your WordPress database with an expiration time. This help speeds up your site and keeps your server load down.
For example in aFloating Social Barplugin, you would retrieve and store social media counts for posts. You would also use transients to have the counts update every 30 minutes.
If you don’t use transients, then your server will need to connect with all social networks on each page load which will slow down your site significantly.
That’s why transients are awesome.
So why would you ever want to manage or delete transients? Well, things can go wrong sometimes. Let’s say a connection between Facebook and your site didn’t go so well, and now it’s showing a count of 0. You can wait 30 minutes or clear out the transient and get the accurate count.
It also helps when testing a plugin to make sure that it’s really working like it is supposed to. Last but not least, you may want to delete expire transients to clear out your database.
The Delete Expired Transients Plugin by WebAware allows you to view, search, edit, and delete transients from your WordPress admin without ever entering the database options table.
Simply install and activate the plugin. Upon activation, it will add a new menu item underTools » Transients. You can see all your transients listed there.
It will also add a new menu item under Tools » Delete Transients. On that page, it will show you the expired transients and the total number of transients. You can easily bulk delete expired transients from this screen.
We hope this article helped you manage and delete transients in WordPress without ever entering your database.
If you find your cPanel disk space filling up, or an email address has hit its disk space quota, cPanel has a helpful built in Email Disk Usage tool. This will provide you with a simple to understand breakdown of how much disk space each folder for a particular email...
Although WHM will normally automatically keep itself up to date, you may want to manually check for server updates / push through an update that is pending, or it may be that you have automatic updates switched off on your cPanel server. In this guide we will show you how...
You may sometimes need to manually adjust the PHP settings on your cPanel server – for example if a site is hitting the PHP memory, or file size upload limit. WHM allows you to quickly change the settings of any PHP version installed on the server when needed, using the...