View wc-point-of-sale-receipt-header.php
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
<?php | |
// Support to pass through information to POS receipt header | |
add_filter( 'wc_pos_receipt_header_text', 'change_pos_receipt_header_text', 10, 3 ); | |
function change_pos_receipt_header_text( $header_text, $order, $register ) { | |
$header_text = 'This is an updated header text.'; | |
return $header_text; | |
} |