How to work with Custom Fields wordpress?

Hello! Can you please tell me how to set that Custom Fields were added in your created table in MYSQL DB, not in wp_usermeta
September 19th 19 at 12:05
2 answers
September 19th 19 at 12:07
And what for, if not a secret?
There is a working universal method used by all. This method uses the standard library and repository WP and are guaranteed not broken and he will not break something else in the future.
Why do I need to change his behavior?
September 19th 19 at 12:09
The DSS will be developed. So you need a more convenient structure of the table. For example there is a product additional fields: color, size, weight. Next will be filtering by those fields. Therefore, we need a table with fields: id, color, size, weight.

Find more questions by tags WordPress