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.
- The topic ‘How to update fields using own code?’ is closed to new replies.