This filter can be used to remove buyer info section or add/delete any column in buyer info section on check voucher code page.
The filter accepts three parameters:
$buyer_info - an array containing buyer info columns i.e. buyer_name, buyer_email, billing_address, shipping_address, buyer_phone$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 buyer phone is as below:
An example of how you can completely remove buyer section is as below: