December 25, 2023

Reduce or Remove Elementor Revisions with Code Snippets

Play Video

Elementor offers extensive functionality and flexibility, but its extensive revisions can sometimes lead to performance issues. This tutorial guides you through reducing or entirely removing Elementor revisions using Code Snippets and/ or the WP-Sweep plugin.


Please make sure you have the following installed and activated:

Why You Should Limit Your Elementor Revisions

Elementor’s revisions are similar to version control, storing each change made. While useful, too many revisions can consume server resources, slowing down your website. Efficient management of these revisions is key to maintaining a fast and responsive website.

Instructions to Reduce or Remove Elementor Revision

  1. Create a new snippet via Snippets > Add New and give it a title.
    Create a new snippet via Snippets > Add New and give it a title
  2. Copy the provided code snippet below and adjust the revision limit as needed, with ‘5’ as a safe default.
    define('WP_POST_REVISIONS', 5);

    Source: John B via CodeSnippets

    Copy the provided code snippet below and adjust the revision limit as needed

  3. Save and activate the snippet for it to take effect.

    Note: After activating the snippet, update your pages or posts to apply the new revision limit.

Official Documentation

Reduce or Remove Elementor Revisions – Conclusion

This tutorial showed how to effectively manage Elementor revisions using Code Snippets, ensuring a leaner, more efficient WordPress website. Remember, regular maintenance is key to keeping your website running smoothly.

Required Resources

WP-Sweep Logo
Code Snippets Logo
Free Options
Elementor Logo
Free Options
Credit to Web Squadron
Web Squadron is a popular YouTube channel dedicated to providing informative tutorials, tips, and insights on web development and design. With a strong focus on WordPress and website builders like Bricks Builder, the channel aims to help users of all skill levels, from beginners to advanced developers, create and optimize their websites. By offering easy-to-understand, step-by-step guidance, Web Squadron provides practical and valuable content.
Reduce or Remove Elementor Revisions with Code Snippets
Welcome back!
Enter your Helwp credentials to sign in.

No Account yet? Sign Up

My Account
Give Feedback
Describe your feedback *
Rate Helwp
Problem *
Describe the problem
Want us to reply?
Your E-Mail
Affiliate Disclosure

At Helwp, we’re committed to transparency and honesty. Therefore, we want to inform you that some of the links on our website are affiliate links. This means that, at no additional cost to you, we may earn a small commission if you click through and make a purchase.

We only promote products or services that we genuinely believe in. These affiliate commissions help us to maintain the website and continue to provide you with free, high-quality WordPress content.

If you are interested in how you can support us even further, check out our support page.