Woocommerce PDF Vouchers Developer Docs

“Woocommerce PDF Vouchers” Documentation by “WPWeb”

woo_vou_check_voucher_column_value

This filter can be used to change any column value in all the information tables on check voucher code page.

The filter accepts five parameters:

  • $column_value - a HTML string containing the column value
  • $col_key - a HTML string containing the column key
  • $voucodeid - the numerical ID of the voucher code
  • $item_id - the numerical ID of the voucher code's order item id
  • $order_id - the numerical ID of the voucher code's order id

An example of how you can set custom value for buyer phone: