judgej / wc-api-custom-meta

WordPress/WooCommerce plugin to support custom meta fields through the product API
32 stars 12 forks source link

Support updating multiple keys (of different values) #3

Closed judgej closed 7 years ago

judgej commented 9 years ago

update_post_meta() takes a forth parameter to allow multiple values to be maintained for a single key. It's a bit kludgy TBH, but should still be supported to help avoid overwritten data:

https://codex.wordpress.org/Function_Reference/update_post_meta

judgej commented 7 years ago

Use the new v2 REST API (WC 3.x) instead of this plugin. It now does everything this plugin does out of the box. The README gives some examples of how you would manage the metadata fields.

judgej commented 7 years ago

Use the new v2 REST API (WC 3.x) instead of this plugin. It now does everything this plugin does out of the box. The README gives some examples of how you would manage the metadata fields.

judgej commented 7 years ago

Use the new v2 REST API (WC 3.x) instead of this plugin. It now does everything this plugin does out of the box. The README gives some examples of how you would manage the metadata fields.