Viewing 0 reply threads
  • Author
    Posts
    • #6552
      vayu
      Member

      Hi.
      I have a simple checkbox meta field a user can check when creating a new post. If unchecked when the post is published, the checkbox will never be visible/used again. Eventhough the value is empty, WordPress creates an empty row in the postmeta table. The checkbox is very rarely checked, thus it results in a lot of empty meta values that are saved to the database. Is there a way not to occupy an entire row in the postmeta table, if the checkbox is not checked?

Viewing 0 reply threads
  • You must be logged in to reply to this topic.