I’m having trouble with a plugin I’m creating. I have created a custom post type, and it has a custom meta box. However, the data input into the form in this meta box is not being saved. I can see that the keys are being created in the DB, but the values for them are not (they’re just empty).
Can someone take a look at the code and see if I’m missing something or there’s an error? I’ll just post the part for saving as registering the custom post type and creating the meta box is working fine.
[38 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]