MainWP Blog - Sebastian Moran
Sebastian Moran is a WordPress performance expert and technical liaison for MainWP.
WordPress Plugins with High Memory Usage & How to Increase PHP Memory Limit
Some WordPress plugins may need more PHP memory. Here are some examples of WordPress plugins that typically require a higher amount of PHP memory than others: Page builder plugins like Elementor or Beaver Builder can require a lot of PHP memory to render the page content on the front end. E-commerce plugins like WooCommerce or Easy Digital Downloads can require a lot of PHP memory to handle the product catalog, cart, and checkout pages. Backup plugins like UpdraftPlus or BackupBuddy can Continue reading the post...
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 Continue reading the post...
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 Continue reading the post...
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 Continue reading the post...
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 Continue reading the post...
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 Continue reading the post...
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 Continue reading the post...
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 ); Continue reading the post...
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 Continue reading the post...
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 Continue reading the post...
Share
Manage Unlimited WordPress Sites from One Dashboard!
- Privacy-first, Open Source, Self-hosted
- Easy Client Management
- 15+ & 30 + Premium Add-ons
- Bulk Plugins & Themes Management










