Plugin Sidebar is not Saving Meta Attribute to Post/Page after “Update”

So, after some more testing, I figured out why it was not saving like it should. I was including the meta during init when it was in the admin panel, but not for anywhere else. Thus when it was being saved (assuming that it was saving as not admin) the meta field was not there to be saved to. I fixed it by making sure that it was taken out of the admin specific code and was being loaded during the pre-admin specific code is.

Leave a Comment