Hi ??
Thank you for a great plugin.
Will you improve it so we also can use it for getting values of custom order fields via the WC API?
]]>PHP Fatal error: Uncaught Error: Cannot use object of type WC_Product_Variation as array in /wp-content/plugins/wc-api-custom-meta/wc-api-custom-meta.php:156\nStack trace:\n#0 /wp-content/plugins/wc-api-custom-meta/wc-api-custom-meta.php(194): Academe_Wc_Api_Custom_Meta::updateCustomMeta(9127, Object(WC_Product_Variation))\n#1 /wp-includes/class-wp-hook.php(298): Academe_Wc_Api_Custom_Meta::updateVariationCustomMeta(9127, 0, Object(WC_Product_Variation))\n#2 /wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)\n#3 /wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#4 /wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-products.php(1432): do_action(‘woocommerce_api…’, 9127, 0, Object(WC_Product_Variation))\n#5 /wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-products. in /wp-content/plugins/wc-api-custom-meta/wc-api-custom-meta.php on line 156
]]>