Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- copy paste kode berikut ke wp-config.php paling atas
- define( 'AUTOSAVE_INTERVAL', 3600 ); // autosave 1x per hour
- define( 'WP_POST_REVISIONS', false ); // no revisions
- define( 'DISABLE_WP_CRON', true );
- define( 'EMPTY_TRASH_DAYS', 7 ); // one week
- disable autodraft, copy in function.php in wptheme
- /* start Disable AutoSave */
- function disableAutoSave() {
- wp_deregister_script('autosave');
- }
- add_action( 'wp_print_scripts', 'disableAutoSave' );
- /* end Disable AutoSave */
Add Comment
Please, Sign In to add comment