Remove old custom field after import

As far as I know the custom key-value pairs are kept in the wp_postmeta table. You can simply examine (and delete) them in the database directly.

SELECT * 
FROM  wp_postmeta 
WHERE  meta_key LIKE '%you_old_key_name%'

The ACF configuration of the fields is another story, but you say that you don’t even have the field in the new setup, so you shouldn’t worry about that one.

Make sure you backup your database before modifying or deleting anything, just in case.

Leave a Comment