This filter can be used to remove order info section or add/delete any column in order info section on check voucher code page.
The filter accepts three parameters:
$order_info - an array containing order info columns i.e. order_id, order_date, payment_method, order_total, order_discount$order_id - the numerical ID of the order, to which voucher code belongs$voucher_code - an HTML string containing the voucher codeAn example of how you can remove payment method is as below:
An example of how you can completely remove order information section is as below: