Title: How to update fields using own code?
Last modified: November 9, 2022

---

# How to update fields using own code?

 *  Resolved [codeduck](https://wordpress.org/support/users/codeduck/)
 * (@codeduck)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/how-to-update-fields-using-own-code/)
 * Hi!
 * I would like to edit addictional fields with my custom php function.
    I used 
   wp function get_post_meta to get tm_meta data. It works great but if I am changing
   received data and trying update tm_meta with update_post_meta, addictional fields
   in product page disappeared. When I open product editor on front after edition,
   I can’t find my fields.
 * If I find tm_meta in database and change that handly, it also doesn’t work – 
   fileds are not visible anymore. Cache clear doesn’t fix that.
 * I am changing only one char in fields text only to test that. I am not doing 
   something advanced.
 * Could you help me understand that?
 * Greetings.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [ThemeHigh](https://wordpress.org/support/users/themehigh/)
 * (@themehigh)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/how-to-update-fields-using-own-code/#post-16184291)
 * Could you please let us know whether the “tm_meta” that you have mentioned is
   a field name created using our plugin?
 * If not, could you please verify the author of the plugin that you are using?
 * Thank you!
 *  Plugin Author [ThemeHigh](https://wordpress.org/support/users/themehigh/)
 * (@themehigh)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/how-to-update-fields-using-own-code/#post-16220345)
 * Since we haven’t heard back from you, we believe that your issue is resolved.
 * We are going to mark this thread as resolved.
 * Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to update fields using own code?’ is closed to new replies.

 * ![](https://ps.w.org/woo-extra-product-options/assets/icon-256x256.gif?rev=3241643)
 * [Extra Product Options For WooCommerce | Custom Product Addons and Fields](https://wordpress.org/plugins/woo-extra-product-options/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-extra-product-options/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-extra-product-options/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-extra-product-options/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-extra-product-options/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-extra-product-options/reviews/)

## Tags

 * [database update](https://wordpress.org/support/topic-tag/database-update/)

 * 2 replies
 * 2 participants
 * Last reply from: [ThemeHigh](https://wordpress.org/support/users/themehigh/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/how-to-update-fields-using-own-code/#post-16220345)
 * Status: resolved