• Hi. The last update date is useless to me. It is not my intention to hide them.

    1- How can I delete this data from db?
    2- How can I stop saving the last update date again?

    thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator threadi

    (@threadi)

    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?

    Thread Starter devrekli

    (@devrekli)

    @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

    Moderator threadi

    (@threadi)

    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.

    Thread Starter devrekli

    (@devrekli)

    @threadi

    i checked them but they don’t clear the last update. thanks

    Moderator threadi

    (@threadi)

    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.

    Thread Starter devrekli

    (@devrekli)

    No need to hide it, I just wanted to delete it and prevent it from happening again. thanks

    Dion

    (@diondesigns)

    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.

    Thread Starter devrekli

    (@devrekli)

    @diondesigns

    I know revisions. I said it for example.
    my question was about the last edit date. thanks

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘how delete wordpress last edit info?’ is closed to new replies.