MainWP Blog

Code Snippet - Remove Transients & Default Plugins for WordPress
Tips & Tricks
Sebastian Moran

Helpful Code Snippets for Deleting Transients & WordPress Plugins

Code Snippets can be used to customize the functionality of your WordPress site without having to modify the core files of the platform. This is important because modifying core files can be risky and lead to compatibility issues with plugins and themes. Code Snippet for Deleting Transients Transients are a type of caching mechanism in WordPress that allows temporary data to be stored in the database with an expiration time. Transients are often used for expensive or time-consuming operations, such as database queries or API requests, that must be performed frequently. Depending on the number of plugins running on the

Remove Unused Imagify Plugin Data - WordPress
Tips & Tricks
Sebastian Moran

How to Remove Imagify Plugin Data on WordPress

Imagify is a popular plugin with over 700,000 active installs that optimizes images on WordPress sites. If you’re considering switching to another plugin like EWWW Image Optimization or TinyPNG, it’s important to follow the necessary steps to uninstall Imagify and remove any unused data from the server. This ensures a smooth transition to the new plugin without any conflicts or issues. Before you uninstall the Imagify plugin, restoring the original images to the unoptimized versions is recommended. The Imagify plugin’s original images would be stored in either of the following folder paths; /wp-content/uploads/backup /imagify-backups As a part of data cleanup

Log Cron Events - WordPres
Tips & Tricks
Sebastian Moran

How to Log Cron Events That Are Run on Your WordPress Site

Cron events in WordPress are scheduled tasks that run automatically at specified intervals. These tasks include checking for updates, publishing scheduled posts, sending email notifications, and performing database maintenance. WordPress’s built-in cron system allows developers to schedule and manage these tasks using the wp_schedule_event function. This function takes three parameters: the time interval, the event hook, and any additional arguments that need to be passed to the hook. Cron events are an important part of WordPress because they allow developers to automate tasks and ensure that essential processes are run regularly without requiring manual intervention. If you need to log

Themeco and All in One SEO Conflict with WordPress 6.2
Tips & Tricks
Sebastian Moran

Common Issues Found with Themes & Plugin with WordPress 6.2

WordPress 6.2 was released on the 29th of March and is the first major WordPress core release of 2023. The X and Pro themes from Themeco had some issues after updating to WordPress 6.2, which were updated quickly after the problem was found. The bug was related to one of the changes that went out in the WordPress 6.2 release, which was causing CPU high usage issues for the site, but can be quickly resolved using the newest version of the theme. Bugfix: The reason for an early release, WordPress 6.2 sends us into an infinite loop when we try

Remove WP Mail Logging Plugin Data
Tips & Tricks
Sebastian Moran

How to Remove WP Mail Logging Plugin Data on Your WordPress Website

The WP Mail Logging plugin is one of the most popular and easy-to-use plugins for logging emails sent from your WordPress website. WP Mail Logging Plugin for WordPress As keeping a log of emails sent can quickly increase the size of your database, it is recommended that you check and adjust the log retention settings according to your needs. Navigate to Log Rention in the WP Mail Logging plugin. If you want to change to an SMTP plugin that includes built-in email logging or use a different solution, you should make sure that the database table the plugin is using

Why WordPress Maintenance Services Are a Game-Changer for Your Business
Quick Starts
Sujay Pawar

The Benefits of Offering WordPress Maintenance Services to Clients

Do you run a digital agency? Provide design or development to clients? Are you wondering whether to add WordPress maintenance to the mix or not? It may seem like a logical option. You have WordPress skills; you already offer some services, so why not add maintenance too? There are a few considerations to take into account before you jump in, and this article should help. We’ll discuss WordPress maintenance and the value it offers you and your clients. By the end of this guide, you should have a clearer idea of what to do! What type of maintenance does WordPress

How to Easily Check Your WordPress Site's Database Usage
Tips & Tricks
Sebastian Moran

How to Get an Easy Overview of Your WordPress Site Database Usage

Keeping an eye on your WordPress site’s database usage helps you optimize it when needed. The latest plugin developed by 99w allows users to obtain a thorough overview of their database usage and the option to view the size of individual database tables within their WordPress site’s database. The plugin is called Database Table Overview and Logs and when installed and activated, it will add a new menu in wp-admin, “Database Table Overview & Logs.” The free version of the plugin includes several useful features, such as; List of all database tables, including name, size, and rows Preview a record

Code Snippets - WordPress 6.2
Tips & Tricks
Sebastian Moran

Useful Code Snippets for WordPress 6.2

WordPress 6.2, the next major release of WordPress core, is scheduled for March 28th. The new version of WordPress comes with many feature improvements and enhancements, but you may not want to use them. Here are some code snippets to disable certain features: 1) To disable the new Openverse category from showing in the new media tab in the block editor, you can use this code snippet. add_filter( ‘block_editor_settings_all’, function( $settings ) { $settings[‘enableOpenverseMediaCategory’] = false;return $settings; }, 10 ); Let’s discuss 2) There is a new filter wp_save_post_revision_revisions_before_deletion which can be used to delete all but the oldest post

Remove Zero Spam Plugin Unused Data
Tips & Tricks
Sebastian Moran

How to Remove Zero Spam Plugin Data on Your WordPress Website

A commonly used spam protection plugin is Zero Spam which has over 30k active installations. To avoid conflicts when switching from the Zero Spam plugin, it’s recommended to remove any remaining data before installing, activating, and setting up the new spam protection solution. The Zero Spam plugin uses a couple of custom database tables for storage; wp_zerospam_blocked_ips Wp_zerospam_log Suppose the custom database tables from the Zero Spam plugin are not automatically deleted when you uninstall it. In that case, you can use the WP-Optimize plugin or phpMyAdmin to locate them. By using any of them, you can delete the left-over

Remove Loginizer Unused Data
Tips & Tricks
Sebastian Moran

How to Remove Loginizer Plugin Data on Your WordPress Website

The Loginizer plugin is commonly used for brute force protection, failed login attempt logs, and IP control on your WordPress site. The custom database tables that the Loginizer plugin uses are; wp_loginizer_logs loginizer_csrf_promo_time loginizer_backuply_promo_time loginizer_promo_time loginizer_ins_time Loginizer_2fa_whitelist The plugin should remove all stored option values from the site’s database during uninstallation. To delete the database tables, get into your database administrator, such as phpMyAdmin, and look for; loginizer_ When you uninstall a plugin in WordPress, deleting the database tables it created is a good idea. This practice has several benefits: Reduce Database Clutter: Database tables no longer in use can

Looking for something?

Privacy laws apply to businesses that collect personal information. Since no personal information is collected by the MainWP plugins, no privacy laws apply to the MainWP plugins. This includes GDPR, UK DPA 2018, PIPEDA, Australia Privacy Act 1988, LGPD, PIPL, and other privacy laws.
Donata Stroink-Skillrud
Donata Stroink-Skillrud
President of Agency Attorneys

Your Download Is Just One Click Away

…or just download the plugin.

By entering your email, you agree to our Terms of Service and Privacy Policy.