[Plugin: WooCommerce – excelling eCommerce] get_post_meta to get custom field data
-
Hi
I need to define a custom field in woocommerce produts (integer value) and need to access it in another plugin.
In that plugin I can already access woocommerce data via
$order_total = get_post_meta( $order_id, ‘_order_total’, true );
If I define a custom field named “xpto”, how can I get its data to a variable?
hope someone can help
cheers
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘[Plugin: WooCommerce – excelling eCommerce] get_post_meta to get custom field data’ is closed to new replies.