draft auto-save not saving my custom fields
Hi, I’m writing a plugin that will display a checkbox on the edit post screen of the admin menu. If the checkbox has been checked and the post is submitted, it gets added to a table in a database. If it is NOT checked, it’s removed from the database (if it exists). That all works wonderfully.
The problem is when I leave the browser on the edit post screen, it runs an auto save function which for some reason, ignores the custom checkbox field I’ve placed on the edit post screen (causing the entry to be erased from the database – even when the box IS checked).
- The topic ‘draft auto-save not saving my custom fields’ is closed to new replies.