Transient Cleaner
Clean expired transients from your options table. The original and best! Transient housekeeping was added to the core of WordPress after version 5.8. However, I have decided to open up this plugin to all versions to allow for manual transient cleaning. Longer term I am working on a new version of the plugin, designed specifically for all WordPress releases. Tested up to PHP 8.2 Fully complies with WordPress coding standards Compliant with the stronger WordPress VIP coding standards, as well as compatibility with their platform Community plugin – visit the Github page to get involved with the latest code development, request enhancements and report issues “Transients are a simple and standardized way of storing cached data in the WordPress database temporarily by giving it a custom name and a timeframe after which it will expire and be deleted.” Unfortunately, expired transients only get deleted when you attempt to access them. If you don’t access the transient then, even though it’s expired, WordPress will not remove it. This is a known “issue” but due to reasons, which are explained in the FAQ, this has not been adequately resolved. Why is this a problem? Transients are often used by plugins to “cache” data (my own plugins included). Because of this it means that expired data can be left and build up, resulting in a bloated database table. Meantime, this plugin is the hero that you’ve been waiting for. Simply activate the plugin, sit back and enjoy a much cleaner, smaller options table. It also adds the additional recommendation that after a database upgrade all transients will be cleared down. The Settings Screen Within Administration -> Tools -> Transients an options screen exists allowing you to tweak when you’d like cleaning to happen, including the ability to perform an ad-hoc run, and when you’d like the to be automatically scheduled. You can even request an optimization of the options table to give your system a real “pep”! Running in Lite mode A “lite” mode is available. By activating this the options screen will no longer appear and default settings will be used. The advantage? Improved performance to Admin and, especially if you’re running multi-site, no chance of anybody “tinkering” with the settings. To activate, use the following… define( 'TC_LITE', true ); This should be added to your wp-config.php file. Using hooks If you’re the type of odd person who likes to code for WordPress (really?) then I’ve added a couple of hooks so you can call our rather neat cleaning functions… housekeep_transients – this will clear down any expired transients clear_all_transients – this will remove any and all transients, expired or otherwise Acknowledgements I’d like to thank WordPress Developer Andrew Nacin for his early discussion on this. Also, I’d like to acknowledge the useful article at Everybody Staze for ensuring the proposed solution made sense, and W-Shadow.com for the cleaning code. Iconography is courtesy of the very talented Janki Rathod.
Top keywords
- transients10×2.00%
- wordpress8×1.60%
- expired6×1.20%
- options5×1.00%
- cleaning4×0.80%
- table4×0.80%
- added3×0.60%
- code3×0.60%
- data3×0.60%
- database3×0.60%
- expired transients3×0.60%
- options table3×0.60%
WPS Bidouille
Français WPS Bidouille fournit des informations sur votre WordPress et contient des outils d’optimisation. Vous pourrez ainsi tout connaitre de votre serveur, optimiser certains réglages et télécharger un rapport TXT de ces valeurs. Masquer les erreurs de connexion Retirer les caractères spéciaux des medias téléversées Retirer la version de WordPress Supprimer le manifeste de Windows Live Writer Désactiver les emoji WordPress Restreindre le nombre de révisions Retirer H1 dans Tiny MCE Désactiver l’API REST Ajouter le format d’image “Medium Large” Désactiver la page auteur et le lien auteur Désactiver les utilisateurs dans le sitemap WordPress par défaut Supprimer le flux RSS Supprimer le flux RSS des commentaires Charger la dernière version de jQuery Améliorer la vitesse de WooCommerce Améliorer la vitesse de Contact Form 7 Désactiver les endpoints utilisateur de l’API REST Ainsi que des outils complémentaires : Déconnecter toutes les sessions Supprimer les données temporaires expirées Nettoyer les commentaires indésirables Vider les commentaires de la corbeille Vous pourrez également réparer et optimiser votre base de données directement depuis WPS Bidouille. Enfin, WPS Bidouille vous propose un centre de notifications amélioré permettant en un clin d’oeil de voir ce qu’il convient de mettre à jour, ce qu’il faut supprimer, corriger ou ajuster. Pour en savoir plus lisez l’article suivant : https://wpformation.com/wps-bidouille Ce plugin vous est gentiment proposé par WPServeur l’hébergeur spécialisé WordPress. Découvrez également nos autres extensions gratuites : – WPS Limit Login pour bloquer les attaques par force brute. – WPS Hide Login pour changer votre URL de connexion en ce que vous voulez. – WPS Cleaner pour nettoyer votre site WordPress. Ce plugin est seulement maintenu, ce qui signifie que nous ne garantissons pas un support gratuit. Envisagez de signaler un problème et soyez patient. English WPS Bidouille provides information about your WordPress and contains optimization tools. You will be able to know everything about your server, optimize certain settings and download a TXT report of these values. Hide connection errors Remove special characters from uploaded media Remove the version of WordPress Remove Windows Live Writer Manifest Disable WordPress emoji Restrict revision number Remove H1 in Tiny MCE Disable the REST API Add the image format “Medium Large” Disable author page and author link Disable users in default WordPress sitemap Delete the RSS feed Remove RSS feed from comments Load the latest version of jQuery Improve the speed of WooCommerce Improve the speed of Contact Form 7 Disable REST API user endpoints As well as complementary tools: Disconnect all sessions Delete expired temporary data Clean up unwanted comments Empty comments from trash You can also repair and optimize your database directly from WPS Bidouille. Finally, WPS Bidouille offers you an enhanced notification center that allows you to see what needs to be updated, what to delete, correct or adjust. To learn more read the following article: https://wpformation.com/wps-bidouille This plugin is kindly proposed by WPServeur the specialized WordPress web host. Discover also our other free extensions: – WPS Limit Login to block brute force attacks. – WPS Hide Login to change your login URL to whatever you want. – WPS Cleaner to clean your WordPress site. This plugin is only maintained, which means we do not guarantee free support. Consider reporting a problem and be patient.