• Hello,

    I have created a custom meta called “test” and I want it to return the value of customer_paid_orders. I tried the code below, but it doesn’t work.

    
    add_filter('woe_get_order_value_test',function ($value, $order,$fieldname) {
    	$value = $order->get_customer_paid_orders();
    	return $value;
    },10,3);
    

    Please help me to get this done.

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get value of cutomer_paid_orders’ is closed to new replies.