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%
Views for WPForms – Display & Edit WPForms Entries on your site frontend
If you’re using the WPForms plugin to create forms on your WordPress site, then we have some great news for you. With the Views for WPForms plugin, you can now display and edit form entries on the front end of your site. That’s right, no more logging into the backend to manage your form entries. With our drag & drop view builder, you can easily create table or list views of entries, allow users to edit entries and approve or disapprove entries from the frontend of your site. Our plugin is also compatible with all WPForms Forms Add-Ons, so you can add even more features and functionality to your forms. NOTE: YOU NEED AT LEAST WPFORMS BASIC LICENSE TO USE VIEWS FOR WPFORMS AS WPFORMS LITE VERSION DOESN’T STORE ENTRIES Here is step by step guide to display WPForms Entries anywhere on your site Views for WPForms lets you display WPForms Entries in your site frontend using drag & drop View builder. You can create a table view, list view, or datatable (Pro feature). The plugin also allows you to add custom content before and after each View, and control the number of entries displayed per page. Demo Table View List View DataTable View Edit Entry Demo Top Free Features Intuitive user interface! Easy to use – drag and drop view builder! Set any number of form fields to show in View. Set custom labels for table headings. Set table column width. Set total number of entries to show on the page. Add pagination links before or after the table. Display Pagination Information. Display using Shortcode on any page, post or custom post type. Compatible with Elementor. Add Views to any page using Elementor Widgets. Compatible with the new Gutenberg block editor. Add View to your page using the WPForms Views block. Fully supported and regular updates. Get more features in Pro version * List View Format * DataTable View Format * Edit Entries from frontend * 25+ Premade Themes and Styler * Delete Entries from frontend * Display only approved Entries * Display only User submitted Entries * Add Search Form above or at View bottom to filter/search entries by field values * Display Entry details on Single Page * Add Custom HTML field & use WPForms Smart Tags inside View * Filter entries by field values or use Merge Tags * Sort WPForms Entries via field values * Display Only starred entries * Display Only viewed entries Get WPForms Views PRO! Pro Features = List & DataTable View Format = Display WPForms Entries in a multicolumn layout on your site frontend. Want more features than a regular table? We have you covered. Display data using dataTables including features like responsive layout, print, pdf, CSV download entries options. Edit WPForms Entries Allow logged-in users to edit their entries from the site frontend using the same form that they used to create an entry. Edit Entry works by prefilling Form fields with entry data. After the user submits Form entry is updated. Administrators can edit all entries. Send a custom notification/email when entry is edited from frontend Inline Edit WPForms Entries Inline Edit Entries without page refresh. The user will never leave the page & can update one field at a time. Best for quick updating of fields displayed in a View. Delete WPForms Entries Allow users to delete their submitted entries from the site frontend. Logged-in users can delete their entries and administrators can delete any entry. Premade themes & Custom Designs Apply premade Table and List View themes with single click. Select from 25+ premade design templates or create your own custom designs without any css Knowledge. Search WPForms Entries Display Search Form in your View to allow users to filter view data by any field value. Options also include searching by Entry Submission Date or Date Range e.g. Display entries submitted between two dates. Advanced Filters Set Filters to Filter Entries before displaying on the site frontend by using any Form field value, logged-in user meta, custom dates, etc. E.g. Display all entries where the user selected Male as Gender field value while submitting the form. Advance Sorting Sort by any Field value in Ascending or Descending order. Allows you to add multiple sort conditions. Entries Approval Display only those entries that are approved by admin from the backend. Approve or Unapprove Entries from site frontend. Calculations Display calculations like sum or average of field values in the table footer. Display Conditions Show field in view only if set conditions are matched. Duplicate Entries Duplicate Entries from your view. Customize Field Value Add any content before or field value inside view using Field Value Template. Google Maps Add-on Display data on Google Maps above or at bottom of View. Custom HTML Add custom HTML within View data. Support WPForms Smart Tags so you can display data by combining multiple field values. WPForms User Registration Addon Integration Works perfectly with User Registration Addon. Register new users on site, display their profile data on the frontend using WPForms Views & then allow them to update it using the Inline Edit addon. WPForms Post Submissions Addon Integration Update associated posts whenever you update entries from WPForms Views. Allow users to update their posts from the site frontend. WPForms Save and Resume Show or hide partial entries within View. Display the Entry Resume link to allow the user to complete partial WPForms entries. WPForms Geolocation Add-on Show Google Maps on the page where you have added View. Create a custom infobox with the data from the WPForms fields. Other WPForms Add-ons = WPForms Import Entries = Import Entries to WPForms CSV file WPForms Charts Display data from your WPForms entries in beautiful charts