Is there a simple way to store additional information related to the whole website in a meta field?

For users, comments or posts, I learned how to use meta fields to store their additional related information, but sometimes I need to have growing arrays that contain additional information about the whole website.

Your clarifications are appreciated.

  • 1
    You can store options for the site using the Options API.
    – Pat J
    Jul 2, 2013 at 16:05

2 Answers 2


You are talking about "Options". These are saved in the *_options table and can be stored and retrieved using a number of Core functions (straight from the Codex page above):

Add/Delete Option

Get/Update Option

Custom fields should be used to store additional details assigned to posts/pages.

You should use Options API to store global options.

You should use user meta to store additional user details.

You can also read this: Best way to present options for home page in admin?

  • You and the comment owner are experts pointing me to Options API, so this is what I will use. Thank you very much. Jul 2, 2013 at 16:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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