0

When I delete a record field of WordPress posts database such as Post, Image, Page, etc. and add new item then it will add in a fresh record field due to auto increment function.

But I would like to firstly utilize deleted records then enter new data in new record field.

Is it okay to disable auto increment from that database table?

  • 1
    No it’s not ok. You’ll break your site. Why would you want to do this? – Jacob Peattie Sep 29 '19 at 10:54
  • Why do you need to hack the core? You can always create your own table. Checkout the $wpdb class. – Mayeenul Islam Sep 29 '19 at 10:55
  • That will not "utilize" anything, but break everything. Why? Save disk space? Let the database mange itself (InnoDB tables) or optimize MyISAM tables. – Knut Sparhell Sep 29 '19 at 13:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.