How to disable post revision ?

I have use this code exactly same from the tutorial i have seen WordPress disable post revisions but still having some issues as it’s not working properly. Can anyone tell how can I disable post revisions ?

  define(‘AUTOSAVE_INTERVAL, 300);

define(‘WP_POST_REVISIONS’, false);

define(‘WP_DEBUG”, false);

If I am going to put this code then it will stop further revisions. Can anyone help me on this ?
define(‘WP_POST_REVISIONS’, false);

Hi there

Hope you are having a good day and thank you for your question
Sorry to say but this is not theme related question and my suggestion is to open a ticket in the WordPress support or WordPress related forums :slight_smile:

Colorlib Support Team