0
Posted on 10:54 AM by Softminer and filed under

1. to disable auto draft you have to add in wp-cofig.php this line
define(’WP_POST_REVISIONS’, false);

2.in older version of wordress:

Select "wp-admin" folder. Scroll down and select "post-new.php" file.
Locate the line code titled "wp_enqueue_script('autosave')." Delete this line in order to disable the "auto save" draft feature on your new posts.

3. in functions.php in your wp-content/theme folder
remove_post_type_support( 'post', 'revisions' );
0
Responses to ... Disable Auto draft in wordpress