Closed judgej closed 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.
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.
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.
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