In my site i need to store 200 extra data for each user. Now i know about the user meta option. But is it a good way to save 200extra field for each user?
Or should i create an extra table in the database to do the work.
|
|
You can store multiple pieces of data within a single field by passing an array rather than a string:
WordPress will serialize this data for you on save, and unserialize back into an array when it is retrieved:
The caveat is that it will actually result in a slightly larger amount of data, but it will decrease the number of rows consumed by the data. |
|||
|
|