Custom Fields Bulk Edit

FIRST BACKUP!!!!!

NEXT, BE SURE THE BACKUP IS RIGHT

Now, you can use this code in PHPMyAdmin

UPDATE wp_postmeta SET meta_value = REPLACE(meta_value, 'preview', 'edit') WHERE meta_key = 'dp_video_code'

Make sure that’s the correct name of the custom field, you can check it in the wp_postmeta table.

Leave a Comment