My meta box won’t save data. It’s a select form field and when I select and update the post, there’s nothing selected on refresh.
So here it is on PasteBin.
http://pastebin.com/tfrgasQC
Can anyone tell why my code won’t get wordpress to save the post with the data?
Thanks
If that is all of your code, you’re missing a
save_post
action to save the data. Refer to the code sample provided on add_meta_box.