0

we are using WordPress in a site that has Places and eventsOn running, however we notice that sometimes the newly inserted place data goes into the wp_postmeta table others it doesn't... Searched for more information about this table schema and no result, can anyone shed a light on this and give me a better insight ?

Thanks,

  • 1
    Any post meta data, which, in short, is anything that is not normal postdata. Have you seen this – Pieter Goosen May 3 '16 at 18:31
1

Like several other tables it is just matching a key to value, when is this specific case they key is composed of the post id number and a string.

It is usually used to store additional information about the post that is not part of the content. In you case probably the place location or event time.

The reason to do such a thing, instead of just inserting it in the content, is to be able to run DB queries based on those values, for example find all posts that are related to event that happen at Christmas at NYC. This is something that is much harder to do when the information is in a free textual format as part of the text.

When does it actually being used by plugin X? depends on the code of the plugin, there are no rules that are being enforced about that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.