I have a custom field that is holding a Wistia video URL. It doesn't seem to be the correct field format, and I cannot change the format. So I've created a second custom field. What is the best way to copy the contents of one custom field into another for all records of a custom post type?
It's basically an Excel column copy and paste, but obviously doesn't work like that given the WP database structure. Is there a SQL command I can run?
I'd want to copy the contents of wpcf-video-url -> wpcf-video-embed for all records with custom post type 'property'
1. change the field type
==>
Why you think the field type is not correct? You can change the field type when you edit your custom field group where your custom field is added and it will allow you to convert to another field type where allowed otherwise other field types that is not allowed will not be selectable.
Have you tried to edit your custom field group and locate your field within your custom field group and then try to change the field type to your desired field type. Does that helps?