No, you cannot remove the date from the database because it is part of the WordPress core. But you could prevent the output. To do that it depends on where you see the date exactly?
@threadi
I see all the posts in the admin panel. (Hiding is not the solution.) This information was useless to me. I didn’t want you to have a large database..
revisions or many things can be deleted. I thought maybe this could be deleted too. thanks
Stating the last edit is something completely different than the revisions you are now referring to. While the last edit is a field in a record that cannot be removed as already written, revisions are entire records that can actually fill the database. However, you only see them when you pull up the revisions of a page or post.
There are plugins that help to clean up these as well as other things in the WordPress database, see: https://wordpress.org/plugins/tags/cleanup/ – when using them always remember to backup your project first.
@threadi
i checked them but they don’t clear the last update. thanks
No plugin will do that either. This data field contains only a date specification. It can not be removed as said. Filling it with zeros would result in you still seeing the data – probably as 00.00.0000. Your goal in this regard is therefore not achievable. Unless you hide the information. To help you with this, one would have to know which data you do not want to see where exactly.
No need to hide it, I just wanted to delete it and prevent it from happening again. thanks
If you don’t want post revisions, then don’t save them! By default WordPress saves every post revision, which is, well, stupid. You can change that number to whatever you want by adding the following line to your wp-config.php file:
define('WP_POST_REVISIONS', 1);
The above line will tell WordPress to save only one revision. If you don’t want to save any revisions (not recommended), change the number to zero.
@diondesigns
I know revisions. I said it for example.
my question was about the last edit date. thanks