Viewing 1 replies (of 1 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @hanwt,

    Please use below code snippet for latest version.

    add_filter('wf_pklist_alter_additional_fields', 'wt_add_order_status_in_invoice', 10, 3);
    function wt_add_order_status_in_invoice($extra_fields, $template_type, $order)
    {
    	$extra_fields['Order status']=$order->get_status();
    	return $extra_fields;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Add order status to invoice’ is closed to new replies.