Home Forums Backend Issues (wp-admin) Rename fields and move data (migrate DB) Reply To: Rename fields and move data (migrate DB)

  • Hi @mrt

    I am afraid there is no other approach from the API apart from updating the postmeta records from the database.

    You would need to update the wp_postmeta table to change the keys from the old one to the new one.

    However, this will only work for simple fields such as text fields. As for repeater sub fields and flexible content sub fields, you will need to modify the specific field key modifield considering the repeater name as well.

    Hope this helps.