Last active
June 14, 2018 06:00
-
-
Save wtmujeebu/40797f24ef1b56a2af27d645cddf0aa4 to your computer and use it in GitHub Desktop.
Add VAT number to the Shipment documents From Address using WebToffee Print invoice and packing slip plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'wf_alter_shipmentlabel_from_address', 'wf_new_shipping_from_address_format',10,3 ); | |
function wf_new_shipping_from_address_format($original_address_format,$order,$from_address) | |
{ | |
$original_address_format .= '<br/>'; | |
$original_address_format .= 'GSTIN:'; | |
$original_address_format .= '12345676787'; | |
$original_address_format .= '<br/>'; | |
return $original_address_format; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment