image field – metafield not being removed when image unlinked in post editor
-
I have a pod with several fields. One is a file field, which I can use to attach images to my custom post.
When I’m editing the custom post, if I add an image and hit publish / update, it works.
When I remove the image and hit update, it disappears from the input field and appears empty. However the record in wp_postmeta remains, so when I retrieve my metafields elsewhere in wordpress, the image is always returned. The only way I can properly remove it is by editing wp_postmeta directly.
Please help.
Edit:
Nevermind, I was being stupid!
- The topic ‘image field – metafield not being removed when image unlinked in post editor’ is closed to new replies.