New answers tagged

0

You mentioned: Is there a way, to do that from within a plugin or a themes functions.php? You may want to try the following code. Just place it inside your theme's functions.php file. Using it, you do NOT have to alter the wp-config.php file. define('WP_POST_REVISIONS', false); function disable_autosave() { wp_deregister_script('autosave'); } ...


3

You should not put any defines in the end of the wp_config.php it is actually explicitly stated in it ;) Every define you add should be above the line saying /* That's all, stop editing! Happy blogging. */ Anything after that will have impact only after wordpress had finished to process the request



Top 50 recent answers are included