Home Forums ACF PRO Clean up wp_postmeta?


Clean up wp_postmeta?

  • When investigating about my other ACF related problems in WordPress database, I saw a lot of entries in table wp_postmeta which belong to various older post revisions.

    If the post revisions are deleted, is there a mechanism in ACF PRO which deletes these entries in wp_postmeta table as well?

  • Hi @thomask

    ACF doesn’t have any code for this clean up, as I believe WP does this natively

  • Thanks, I just found the native cleanup in wp_delete_post() of WordPress.

    Seems the left over meta from old revisions were there because the plugin WP-Optimize was used by client which obiously only deletes main post with direct SQL. Removing this plugin now…

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Clean up wp_postmeta?’ is closed to new replies.