Get element value from order
-
Hi,
I went through several tickets and documentation, but I am not able to figure out how I can echo the value from an element id from an order, below is a trial:
function show_efo_value(){ if ( get_the_ID() == 95 ) { echo '<p>' . THEMECOMPLETE_EPO_API()->get_option( $order->get_id(), '610a8dd8da7fb5.30395416') . '</p>'; } } add_action( 'admin_head', 'show_efo_value', 0);
I hope you can guide me into the right direction to return the value of the extra options fields from the order.
Thanks a lot.
Demian
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Get element value from order’ is closed to new replies.