Home>Support>I want to disable post revisions. Having some issues .

I want to disable post revisions. Having some issues .

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

I have use this code exactly same from the tutorial i have seen https://www.wpblog.com/disable-limit-wordpress-post-revisions/ but still having some issues as it’s not working properly or might be i am doing something wrong. Can anyone help me to disable the post revisions ?

define('AUTOSAVE_INTERVAL', 300);
define('WP_POST_REVISIONS', false);
define('WP_DEBUG" false);

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 7 months ago Alex S
    Hi, I Work Here

    Hi Alexander,

    There’s an error with the provided code:

    define('WP_DEBUG" false);
    

    Should be:

    define('WP_DEBUG' false);
    

    Regardless, can you please elaborate on the issues you’re facing?

  2. 7 years, 6 months ago alexander biscajin

    Hey Alex, Thanks it works. Cheers :)

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More